aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authorJuuz <6596629+Juuxel@users.noreply.github.com>2022-01-16 18:35:27 +0200
committerJuuz <6596629+Juuxel@users.noreply.github.com>2022-01-16 18:35:27 +0200
commit53b4519a51aabc9c324dc5c285b875c60bcf2e08 (patch)
tree28a0b01aedcd10ceda6a439554a7119ef59b3ce8 /src/main
parentbfdde6ea3623783f1c87b14fad76b6d4c465aeab (diff)
downloadLibGui-53b4519a51aabc9c324dc5c285b875c60bcf2e08.tar.gz
LibGui-53b4519a51aabc9c324dc5c285b875c60bcf2e08.tar.bz2
LibGui-53b4519a51aabc9c324dc5c285b875c60bcf2e08.zip
Clarify WPanel.streamChildren, remove ApiStatus.Experimental
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/io/github/cottonmc/cotton/gui/widget/WPanel.java5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/main/java/io/github/cottonmc/cotton/gui/widget/WPanel.java b/src/main/java/io/github/cottonmc/cotton/gui/widget/WPanel.java
index 204ea93..d91950e 100644
--- a/src/main/java/io/github/cottonmc/cotton/gui/widget/WPanel.java
+++ b/src/main/java/io/github/cottonmc/cotton/gui/widget/WPanel.java
@@ -7,7 +7,6 @@ import net.minecraft.client.util.math.MatrixStack;
import io.github.cottonmc.cotton.gui.GuiDescription;
import io.github.cottonmc.cotton.gui.client.BackgroundPainter;
import io.github.cottonmc.cotton.gui.widget.data.Insets;
-import org.jetbrains.annotations.ApiStatus;
import org.jetbrains.annotations.Nullable;
import java.util.AbstractList;
@@ -249,12 +248,10 @@ public abstract class WPanel extends WWidget {
}
/**
- * {@return a stream of all visible widgets in this panel}
+ * {@return a stream of all visible top-level widgets in this panel}
*
- * @experimental
* @since 4.2.0
*/
- @ApiStatus.Experimental
public final Stream<WWidget> streamChildren() {
return children.stream();
}