Class WorldScreenOptionGrid.Builder
java.lang.Object
net.minecraft.client.gui.screen.world.WorldScreenOptionGrid.Builder
- Enclosing class:
WorldScreenOptionGrid
- Mappings:
Namespace Name official eyw$aintermediary net/minecraft/class_8096$class_8097named net/minecraft/client/gui/screen/world/WorldScreenOptionGrid$Builder
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) intprivate final List<WorldScreenOptionGrid.OptionBuilder>(package private) int(package private) int(package private) Optional<WorldScreenOptionGrid.TooltipBoxDisplay>(package private) final int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionadd(Text text, BooleanSupplier getter, Consumer<Boolean> setter) (package private) voidmarginLeft(int marginLeft) setRowSpacing(int rowSpacing) withTooltipBox(int maxInfoRows, boolean alwaysMaxHeight)
-
Field Details
-
width
final int width- Mappings:
Namespace Name Mixin selector official aLeyw$a;a:Iintermediary field_42198Lnet/minecraft/class_8096$class_8097;field_42198:Inamed widthLnet/minecraft/client/gui/screen/world/WorldScreenOptionGrid$Builder;width:I
-
options
- Mappings:
Namespace Name Mixin selector official bLeyw$a;b:Ljava/util/List;intermediary field_42199Lnet/minecraft/class_8096$class_8097;field_42199:Ljava/util/List;named optionsLnet/minecraft/client/gui/screen/world/WorldScreenOptionGrid$Builder;options:Ljava/util/List;
-
marginLeft
int marginLeft- Mappings:
Namespace Name Mixin selector official cLeyw$a;c:Iintermediary field_42200Lnet/minecraft/class_8096$class_8097;field_42200:Inamed marginLeftLnet/minecraft/client/gui/screen/world/WorldScreenOptionGrid$Builder;marginLeft:I
-
rowSpacing
int rowSpacing- Mappings:
Namespace Name Mixin selector official dLeyw$a;d:Iintermediary field_42509Lnet/minecraft/class_8096$class_8097;field_42509:Inamed rowSpacingLnet/minecraft/client/gui/screen/world/WorldScreenOptionGrid$Builder;rowSpacing:I
-
rows
int rows- Mappings:
Namespace Name Mixin selector official eLeyw$a;e:Iintermediary field_42510Lnet/minecraft/class_8096$class_8097;field_42510:Inamed rowsLnet/minecraft/client/gui/screen/world/WorldScreenOptionGrid$Builder;rows:I
-
tooltipBoxDisplay
Optional<WorldScreenOptionGrid.TooltipBoxDisplay> tooltipBoxDisplay- Mappings:
Namespace Name Mixin selector official fLeyw$a;f:Ljava/util/Optional;intermediary field_42511Lnet/minecraft/class_8096$class_8097;field_42511:Ljava/util/Optional;named tooltipBoxDisplayLnet/minecraft/client/gui/screen/world/WorldScreenOptionGrid$Builder;tooltipBoxDisplay:Ljava/util/Optional;
-
-
Constructor Details
-
Builder
public Builder(int width) - Mappings:
Namespace Name Mixin selector official <init>Leyw$a;<init>(I)Vintermediary <init>Lnet/minecraft/class_8096$class_8097;<init>(I)Vnamed <init>Lnet/minecraft/client/gui/screen/world/WorldScreenOptionGrid$Builder;<init>(I)V
-
-
Method Details
-
incrementRows
void incrementRows()- Mappings:
Namespace Name Mixin selector official aLeyw$a;a()Vintermediary method_49025Lnet/minecraft/class_8096$class_8097;method_49025()Vnamed incrementRowsLnet/minecraft/client/gui/screen/world/WorldScreenOptionGrid$Builder;incrementRows()V
-
add
public WorldScreenOptionGrid.OptionBuilder add(Text text, BooleanSupplier getter, Consumer<Boolean> setter) - Mappings:
Namespace Name Mixin selector official aLeyw$a;a(Lsw;Ljava/util/function/BooleanSupplier;Ljava/util/function/Consumer;)Leyw$d;intermediary method_48687Lnet/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;named addLnet/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;
-
marginLeft
- Mappings:
Namespace Name Mixin selector official aLeyw$a;a(I)Leyw$a;intermediary method_48685Lnet/minecraft/class_8096$class_8097;method_48685(I)Lnet/minecraft/class_8096$class_8097;named marginLeftLnet/minecraft/client/gui/screen/world/WorldScreenOptionGrid$Builder;marginLeft(I)Lnet/minecraft/client/gui/screen/world/WorldScreenOptionGrid$Builder;
-
setRowSpacing
- Mappings:
Namespace Name Mixin selector official bLeyw$a;b(I)Leyw$a;intermediary method_49027Lnet/minecraft/class_8096$class_8097;method_49027(I)Lnet/minecraft/class_8096$class_8097;named setRowSpacingLnet/minecraft/client/gui/screen/world/WorldScreenOptionGrid$Builder;setRowSpacing(I)Lnet/minecraft/client/gui/screen/world/WorldScreenOptionGrid$Builder;
-
build
- Mappings:
Namespace Name Mixin selector official aLeyw$a;a(Ljava/util/function/Consumer;)Leyw;intermediary method_48686Lnet/minecraft/class_8096$class_8097;method_48686(Ljava/util/function/Consumer;)Lnet/minecraft/class_8096;named buildLnet/minecraft/client/gui/screen/world/WorldScreenOptionGrid$Builder;build(Ljava/util/function/Consumer;)Lnet/minecraft/client/gui/screen/world/WorldScreenOptionGrid;
-
withTooltipBox
- Mappings:
Namespace Name Mixin selector official aLeyw$a;a(IZ)Leyw$a;intermediary method_49026Lnet/minecraft/class_8096$class_8097;method_49026(IZ)Lnet/minecraft/class_8096$class_8097;named withTooltipBoxLnet/minecraft/client/gui/screen/world/WorldScreenOptionGrid$Builder;withTooltipBox(IZ)Lnet/minecraft/client/gui/screen/world/WorldScreenOptionGrid$Builder;
-