Class WorldScreenOptionGrid.OptionBuilder
java.lang.Object
net.minecraft.client.gui.screen.world.WorldScreenOptionGrid.OptionBuilder
- Enclosing class:
WorldScreenOptionGrid
- Mappings:
Namespace Name official exu$d
intermediary net/minecraft/class_8096$class_8099
named net/minecraft/client/gui/screen/world/WorldScreenOptionGrid$OptionBuilder
-
Field Summary
Modifier and TypeFieldDescriptionprivate final int
private final BooleanSupplier
private final Text
private @Nullable BooleanSupplier
-
Constructor Summary
ConstructorDescriptionOptionBuilder
(Text text, BooleanSupplier getter, Consumer<Boolean> setter, int buttonWidth) -
Method Summary
Modifier and TypeMethodDescription(package private) WorldScreenOptionGrid.Option
build
(WorldScreenOptionGrid.Builder gridBuilder, GridWidget gridWidget, int row) toggleable
(BooleanSupplier toggleable)
-
Field Details
-
text
- Mappings:
Namespace Name Mixin selector official a
Lexu$d;a:Ltj;
intermediary field_42204
Lnet/minecraft/class_8096$class_8099;field_42204:Lnet/minecraft/class_2561;
named text
Lnet/minecraft/client/gui/screen/world/WorldScreenOptionGrid$OptionBuilder;text:Lnet/minecraft/text/Text;
-
getter
- Mappings:
Namespace Name Mixin selector official b
Lexu$d;b:Ljava/util/function/BooleanSupplier;
intermediary field_42205
Lnet/minecraft/class_8096$class_8099;field_42205:Ljava/util/function/BooleanSupplier;
named getter
Lnet/minecraft/client/gui/screen/world/WorldScreenOptionGrid$OptionBuilder;getter:Ljava/util/function/BooleanSupplier;
-
setter
- Mappings:
Namespace Name Mixin selector official c
Lexu$d;c:Ljava/util/function/Consumer;
intermediary field_42206
Lnet/minecraft/class_8096$class_8099;field_42206:Ljava/util/function/Consumer;
named setter
Lnet/minecraft/client/gui/screen/world/WorldScreenOptionGrid$OptionBuilder;setter:Ljava/util/function/Consumer;
-
tooltip
- Mappings:
Namespace Name Mixin selector official d
Lexu$d;d:Ltj;
intermediary field_42207
Lnet/minecraft/class_8096$class_8099;field_42207:Lnet/minecraft/class_2561;
named tooltip
Lnet/minecraft/client/gui/screen/world/WorldScreenOptionGrid$OptionBuilder;tooltip:Lnet/minecraft/text/Text;
-
toggleable
- Mappings:
Namespace Name Mixin selector official e
Lexu$d;e:Ljava/util/function/BooleanSupplier;
intermediary field_42208
Lnet/minecraft/class_8096$class_8099;field_42208:Ljava/util/function/BooleanSupplier;
named toggleable
Lnet/minecraft/client/gui/screen/world/WorldScreenOptionGrid$OptionBuilder;toggleable:Ljava/util/function/BooleanSupplier;
-
buttonWidth
private final int buttonWidth- Mappings:
Namespace Name Mixin selector official f
Lexu$d;f:I
intermediary field_42209
Lnet/minecraft/class_8096$class_8099;field_42209:I
named buttonWidth
Lnet/minecraft/client/gui/screen/world/WorldScreenOptionGrid$OptionBuilder;buttonWidth:I
-
-
Constructor Details
-
OptionBuilder
OptionBuilder(Text text, BooleanSupplier getter, Consumer<Boolean> setter, int buttonWidth) - Mappings:
Namespace Name Mixin selector official <init>
Lexu$d;<init>(Ltj;Ljava/util/function/BooleanSupplier;Ljava/util/function/Consumer;I)V
intermediary <init>
Lnet/minecraft/class_8096$class_8099;<init>(Lnet/minecraft/class_2561;Ljava/util/function/BooleanSupplier;Ljava/util/function/Consumer;I)V
named <init>
Lnet/minecraft/client/gui/screen/world/WorldScreenOptionGrid$OptionBuilder;<init>(Lnet/minecraft/text/Text;Ljava/util/function/BooleanSupplier;Ljava/util/function/Consumer;I)V
-
-
Method Details
-
toggleable
- Mappings:
Namespace Name Mixin selector official a
Lexu$d;a(Ljava/util/function/BooleanSupplier;)Lexu$d;
intermediary method_48693
Lnet/minecraft/class_8096$class_8099;method_48693(Ljava/util/function/BooleanSupplier;)Lnet/minecraft/class_8096$class_8099;
named toggleable
Lnet/minecraft/client/gui/screen/world/WorldScreenOptionGrid$OptionBuilder;toggleable(Ljava/util/function/BooleanSupplier;)Lnet/minecraft/client/gui/screen/world/WorldScreenOptionGrid$OptionBuilder;
-
tooltip
- Mappings:
Namespace Name Mixin selector official a
Lexu$d;a(Ltj;)Lexu$d;
intermediary method_48694
Lnet/minecraft/class_8096$class_8099;method_48694(Lnet/minecraft/class_2561;)Lnet/minecraft/class_8096$class_8099;
named tooltip
Lnet/minecraft/client/gui/screen/world/WorldScreenOptionGrid$OptionBuilder;tooltip(Lnet/minecraft/text/Text;)Lnet/minecraft/client/gui/screen/world/WorldScreenOptionGrid$OptionBuilder;
-
build
WorldScreenOptionGrid.Option build(WorldScreenOptionGrid.Builder gridBuilder, GridWidget gridWidget, int row) - Mappings:
Namespace Name Mixin selector official a
Lexu$d;a(Lexu$a;Lequ;I)Lexu$c;
intermediary method_48691
Lnet/minecraft/class_8096$class_8099;method_48691(Lnet/minecraft/class_8096$class_8097;Lnet/minecraft/class_7845;I)Lnet/minecraft/class_8096$class_8098;
named build
Lnet/minecraft/client/gui/screen/world/WorldScreenOptionGrid$OptionBuilder;build(Lnet/minecraft/client/gui/screen/world/WorldScreenOptionGrid$Builder;Lnet/minecraft/client/gui/widget/GridWidget;I)Lnet/minecraft/client/gui/screen/world/WorldScreenOptionGrid$Option;
-