Class WorldScreenOptionGrid.Builder
java.lang.Object
net.minecraft.client.gui.screen.world.WorldScreenOptionGrid.Builder
- Enclosing class:
WorldScreenOptionGrid
- Mappings:
Namespace Name named net/minecraft/client/gui/screen/world/WorldScreenOptionGrid$Builder
intermediary net/minecraft/class_8096$class_8097
official fsa$a
-
Field Summary
Modifier and TypeFieldDescription(package private) int
private final List
<WorldScreenOptionGrid.OptionBuilder> (package private) int
(package private) int
(package private) Optional
<WorldScreenOptionGrid.TooltipBoxDisplay> (package private) final int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionadd
(Text text, BooleanSupplier getter, Consumer<Boolean> setter) (package private) void
marginLeft
(int marginLeft) setRowSpacing
(int rowSpacing) withTooltipBox
(int maxInfoRows, boolean alwaysMaxHeight)
-
Field Details
-
width
final int width- Mappings:
Namespace Name Mixin selector named width
Lnet/minecraft/client/gui/screen/world/WorldScreenOptionGrid$Builder;width:I
intermediary field_42198
Lnet/minecraft/class_8096$class_8097;field_42198:I
official a
Lfsa$a;a:I
-
options
- Mappings:
Namespace Name Mixin selector named options
Lnet/minecraft/client/gui/screen/world/WorldScreenOptionGrid$Builder;options:Ljava/util/List;
intermediary field_42199
Lnet/minecraft/class_8096$class_8097;field_42199:Ljava/util/List;
official b
Lfsa$a;b:Ljava/util/List;
-
marginLeft
int marginLeft- Mappings:
Namespace Name Mixin selector named marginLeft
Lnet/minecraft/client/gui/screen/world/WorldScreenOptionGrid$Builder;marginLeft:I
intermediary field_42200
Lnet/minecraft/class_8096$class_8097;field_42200:I
official c
Lfsa$a;c:I
-
rowSpacing
int rowSpacing- Mappings:
Namespace Name Mixin selector named rowSpacing
Lnet/minecraft/client/gui/screen/world/WorldScreenOptionGrid$Builder;rowSpacing:I
intermediary field_42509
Lnet/minecraft/class_8096$class_8097;field_42509:I
official d
Lfsa$a;d:I
-
rows
int rows- Mappings:
Namespace Name Mixin selector named rows
Lnet/minecraft/client/gui/screen/world/WorldScreenOptionGrid$Builder;rows:I
intermediary field_42510
Lnet/minecraft/class_8096$class_8097;field_42510:I
official e
Lfsa$a;e:I
-
tooltipBoxDisplay
Optional<WorldScreenOptionGrid.TooltipBoxDisplay> tooltipBoxDisplay- Mappings:
Namespace Name Mixin selector named tooltipBoxDisplay
Lnet/minecraft/client/gui/screen/world/WorldScreenOptionGrid$Builder;tooltipBoxDisplay:Ljava/util/Optional;
intermediary field_42511
Lnet/minecraft/class_8096$class_8097;field_42511:Ljava/util/Optional;
official f
Lfsa$a;f:Ljava/util/Optional;
-
-
Constructor Details
-
Builder
public Builder(int width) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/client/gui/screen/world/WorldScreenOptionGrid$Builder;<init>(I)V
intermediary <init>
Lnet/minecraft/class_8096$class_8097;<init>(I)V
official <init>
Lfsa$a;<init>(I)V
-
-
Method Details
-
incrementRows
void incrementRows()- Mappings:
Namespace Name Mixin selector named incrementRows
Lnet/minecraft/client/gui/screen/world/WorldScreenOptionGrid$Builder;incrementRows()V
intermediary method_49025
Lnet/minecraft/class_8096$class_8097;method_49025()V
official a
Lfsa$a;a()V
-
add
public WorldScreenOptionGrid.OptionBuilder add(Text text, BooleanSupplier getter, Consumer<Boolean> setter) - Mappings:
Namespace Name Mixin selector named add
Lnet/minecraft/client/gui/screen/world/WorldScreenOptionGrid$Builder;add(Lnet/minecraft/text/Text;Ljava/util/function/BooleanSupplier;Ljava/util/function/Consumer;)Lnet/minecraft/client/gui/screen/world/WorldScreenOptionGrid$OptionBuilder;
intermediary method_48687
Lnet/minecraft/class_8096$class_8097;method_48687(Lnet/minecraft/class_2561;Ljava/util/function/BooleanSupplier;Ljava/util/function/Consumer;)Lnet/minecraft/class_8096$class_8099;
official a
Lfsa$a;a(Lxp;Ljava/util/function/BooleanSupplier;Ljava/util/function/Consumer;)Lfsa$d;
-
marginLeft
- Mappings:
Namespace Name Mixin selector named marginLeft
Lnet/minecraft/client/gui/screen/world/WorldScreenOptionGrid$Builder;marginLeft(I)Lnet/minecraft/client/gui/screen/world/WorldScreenOptionGrid$Builder;
intermediary method_48685
Lnet/minecraft/class_8096$class_8097;method_48685(I)Lnet/minecraft/class_8096$class_8097;
official a
Lfsa$a;a(I)Lfsa$a;
-
setRowSpacing
- Mappings:
Namespace Name Mixin selector named setRowSpacing
Lnet/minecraft/client/gui/screen/world/WorldScreenOptionGrid$Builder;setRowSpacing(I)Lnet/minecraft/client/gui/screen/world/WorldScreenOptionGrid$Builder;
intermediary method_49027
Lnet/minecraft/class_8096$class_8097;method_49027(I)Lnet/minecraft/class_8096$class_8097;
official b
Lfsa$a;b(I)Lfsa$a;
-
build
- Mappings:
Namespace Name Mixin selector named build
Lnet/minecraft/client/gui/screen/world/WorldScreenOptionGrid$Builder;build(Ljava/util/function/Consumer;)Lnet/minecraft/client/gui/screen/world/WorldScreenOptionGrid;
intermediary method_48686
Lnet/minecraft/class_8096$class_8097;method_48686(Ljava/util/function/Consumer;)Lnet/minecraft/class_8096;
official a
Lfsa$a;a(Ljava/util/function/Consumer;)Lfsa;
-
withTooltipBox
- Mappings:
Namespace Name Mixin selector named withTooltipBox
Lnet/minecraft/client/gui/screen/world/WorldScreenOptionGrid$Builder;withTooltipBox(IZ)Lnet/minecraft/client/gui/screen/world/WorldScreenOptionGrid$Builder;
intermediary method_49026
Lnet/minecraft/class_8096$class_8097;method_49026(IZ)Lnet/minecraft/class_8096$class_8097;
official a
Lfsa$a;a(IZ)Lfsa$a;
-