Class WorldScreenOptionGrid.Builder
java.lang.Object
net.minecraft.client.gui.screen.world.WorldScreenOptionGrid.Builder
- Enclosing class:
- WorldScreenOptionGrid
- Mappings:
- Namespace - Name - official - ezh$a- intermediary - net/minecraft/class_8096$class_8097- named - net/minecraft/client/gui/screen/world/WorldScreenOptionGrid$Builder
- 
Field SummaryFieldsModifier 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 SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionadd(Text text, BooleanSupplier getter, Consumer<Boolean> setter) (package private) voidmarginLeft(int marginLeft) setRowSpacing(int rowSpacing) withTooltipBox(int maxInfoRows, boolean alwaysMaxHeight) 
- 
Field Details- 
widthfinal int width- Mappings:
- Namespace - Name - Mixin selector - official - a- Lezh$a;a:I- intermediary - field_42198- Lnet/minecraft/class_8096$class_8097;field_42198:I- named - width- Lnet/minecraft/client/gui/screen/world/WorldScreenOptionGrid$Builder;width:I
 
- 
options- Mappings:
- Namespace - Name - Mixin selector - official - b- Lezh$a;b:Ljava/util/List;- intermediary - field_42199- Lnet/minecraft/class_8096$class_8097;field_42199:Ljava/util/List;- named - options- Lnet/minecraft/client/gui/screen/world/WorldScreenOptionGrid$Builder;options:Ljava/util/List;
 
- 
marginLeftint marginLeft- Mappings:
- Namespace - Name - Mixin selector - official - c- Lezh$a;c:I- intermediary - field_42200- Lnet/minecraft/class_8096$class_8097;field_42200:I- named - marginLeft- Lnet/minecraft/client/gui/screen/world/WorldScreenOptionGrid$Builder;marginLeft:I
 
- 
rowSpacingint rowSpacing- Mappings:
- Namespace - Name - Mixin selector - official - d- Lezh$a;d:I- intermediary - field_42509- Lnet/minecraft/class_8096$class_8097;field_42509:I- named - rowSpacing- Lnet/minecraft/client/gui/screen/world/WorldScreenOptionGrid$Builder;rowSpacing:I
 
- 
rowsint rows- Mappings:
- Namespace - Name - Mixin selector - official - e- Lezh$a;e:I- intermediary - field_42510- Lnet/minecraft/class_8096$class_8097;field_42510:I- named - rows- Lnet/minecraft/client/gui/screen/world/WorldScreenOptionGrid$Builder;rows:I
 
- 
tooltipBoxDisplayOptional<WorldScreenOptionGrid.TooltipBoxDisplay> tooltipBoxDisplay- Mappings:
- Namespace - Name - Mixin selector - official - f- Lezh$a;f:Ljava/util/Optional;- intermediary - field_42511- Lnet/minecraft/class_8096$class_8097;field_42511:Ljava/util/Optional;- named - tooltipBoxDisplay- Lnet/minecraft/client/gui/screen/world/WorldScreenOptionGrid$Builder;tooltipBoxDisplay:Ljava/util/Optional;
 
 
- 
- 
Constructor Details- 
Builderpublic Builder(int width) - Mappings:
- Namespace - Name - Mixin selector - official - <init>- Lezh$a;<init>(I)V- intermediary - <init>- Lnet/minecraft/class_8096$class_8097;<init>(I)V- named - <init>- Lnet/minecraft/client/gui/screen/world/WorldScreenOptionGrid$Builder;<init>(I)V
 
 
- 
- 
Method Details- 
incrementRowsvoid incrementRows()- Mappings:
- Namespace - Name - Mixin selector - official - a- Lezh$a;a()V- intermediary - method_49025- Lnet/minecraft/class_8096$class_8097;method_49025()V- named - incrementRows- Lnet/minecraft/client/gui/screen/world/WorldScreenOptionGrid$Builder;incrementRows()V
 
- 
addpublic WorldScreenOptionGrid.OptionBuilder add(Text text, BooleanSupplier getter, Consumer<Boolean> setter) - Mappings:
- Namespace - Name - Mixin selector - official - a- Lezh$a;a(Lsw;Ljava/util/function/BooleanSupplier;Ljava/util/function/Consumer;)Lezh$d;- 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;- 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;
 
- 
marginLeft- Mappings:
- Namespace - Name - Mixin selector - official - a- Lezh$a;a(I)Lezh$a;- intermediary - method_48685- Lnet/minecraft/class_8096$class_8097;method_48685(I)Lnet/minecraft/class_8096$class_8097;- named - marginLeft- Lnet/minecraft/client/gui/screen/world/WorldScreenOptionGrid$Builder;marginLeft(I)Lnet/minecraft/client/gui/screen/world/WorldScreenOptionGrid$Builder;
 
- 
setRowSpacing- Mappings:
- Namespace - Name - Mixin selector - official - b- Lezh$a;b(I)Lezh$a;- intermediary - method_49027- Lnet/minecraft/class_8096$class_8097;method_49027(I)Lnet/minecraft/class_8096$class_8097;- named - setRowSpacing- Lnet/minecraft/client/gui/screen/world/WorldScreenOptionGrid$Builder;setRowSpacing(I)Lnet/minecraft/client/gui/screen/world/WorldScreenOptionGrid$Builder;
 
- 
build- Mappings:
- Namespace - Name - Mixin selector - official - a- Lezh$a;a(Ljava/util/function/Consumer;)Lezh;- intermediary - method_48686- Lnet/minecraft/class_8096$class_8097;method_48686(Ljava/util/function/Consumer;)Lnet/minecraft/class_8096;- named - build- Lnet/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 - a- Lezh$a;a(IZ)Lezh$a;- intermediary - method_49026- Lnet/minecraft/class_8096$class_8097;method_49026(IZ)Lnet/minecraft/class_8096$class_8097;- named - withTooltipBox- Lnet/minecraft/client/gui/screen/world/WorldScreenOptionGrid$Builder;withTooltipBox(IZ)Lnet/minecraft/client/gui/screen/world/WorldScreenOptionGrid$Builder;
 
 
-