diff options
author | Juuz <6596629+Juuxel@users.noreply.github.com> | 2021-12-22 18:24:03 +0200 |
---|---|---|
committer | Juuz <6596629+Juuxel@users.noreply.github.com> | 2021-12-22 18:24:03 +0200 |
commit | bbbd874a67489488f5e969633b2ca01881f4164b (patch) | |
tree | be1d2346815be7dbc9ff45bb277ce61830e1deff /src/main/java | |
parent | 484dbb3e78c2d22ba129dbecef49a4314e978036 (diff) | |
download | LibGui-bbbd874a67489488f5e969633b2ca01881f4164b.tar.gz LibGui-bbbd874a67489488f5e969633b2ca01881f4164b.tar.bz2 LibGui-bbbd874a67489488f5e969633b2ca01881f4164b.zip |
Improve WWidget.validate javadoc
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/io/github/cottonmc/cotton/gui/widget/WWidget.java | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/main/java/io/github/cottonmc/cotton/gui/widget/WWidget.java b/src/main/java/io/github/cottonmc/cotton/gui/widget/WWidget.java index a8cb8bf..9636e8b 100644 --- a/src/main/java/io/github/cottonmc/cotton/gui/widget/WWidget.java +++ b/src/main/java/io/github/cottonmc/cotton/gui/widget/WWidget.java @@ -357,8 +357,11 @@ public class WWidget { } /** - * Creates component peers, lays out children, and initializes animation data for this Widget and all its children. - * The host container must clear any heavyweight peers from its records before this method is called. + * Creates component peers and initializes animation data for this Widget and all its children. + * The host {@linkplain net.minecraft.screen.ScreenHandler screen handler} must clear any heavyweight peers + * from its records before this method is called. + * + * <p>This method must be called on the root panel of any screen once the widgets have been initialized. * * @param host the host GUI description */ |