From 53b4519a51aabc9c324dc5c285b875c60bcf2e08 Mon Sep 17 00:00:00 2001 From: Juuz <6596629+Juuxel@users.noreply.github.com> Date: Sun, 16 Jan 2022 18:35:27 +0200 Subject: Clarify WPanel.streamChildren, remove ApiStatus.Experimental --- src/main/java/io/github/cottonmc/cotton/gui/widget/WPanel.java | 5 +---- 1 file changed, 1 insertion(+), 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 streamChildren() { return children.stream(); } -- cgit