net.minecraft.client.gui.screen.world

public class WorldScreenOptionGrid$Builder

net.minecraft.client.gui.screens.worldselection.SwitchGrid$Builder
net.minecraft.class_8096$class_8097
net.minecraft.client.gui.screen.world.WorldScreenOptionGrid$Builder

Field summary

Modifier and TypeField
private final int
width
field_42198
width
private final List<WorldScreenOptionGrid$OptionBuilder>
switchBuilders
field_42199
options
private int
paddingLeft
field_42200
marginLeft
private int
rowSpacing
field_42509
rowSpacing
private int
rowCount
field_42510
rows
private Optional<WorldScreenOptionGrid$TooltipBoxDisplay>
infoUnderneath
field_42511
tooltipBoxDisplay

Constructor summary

ModifierConstructor
public (int width)

Method summary

Modifier and TypeMethod
private void
increaseRow()
method_49025()
incrementRows()
public WorldScreenOptionGrid$OptionBuilder
addSwitch(Component label, BooleanSupplier stateSupplier, Consumer<Boolean> onClicked)
method_48687(class_2561 arg0, BooleanSupplier arg1, Consumer<Boolean> arg2)
add(Text text, BooleanSupplier getter, Consumer<Boolean> setter)
public WorldScreenOptionGrid$Builder
withPaddingLeft(int paddingLeft)
method_48685(int arg0)
marginLeft(int marginLeft)
public WorldScreenOptionGrid$Builder
withRowSpacing(int rowSpacing)
method_49027(int arg0)
setRowSpacing(int rowSpacing)
public WorldScreenOptionGrid
build()
method_48686()
build()
public WorldScreenOptionGrid$Builder
withInfoUnderneath(int maxRows, boolean alwaysMaxHeight)
method_49026(int arg0, boolean arg1)
withTooltipBox(int maxInfoRows, boolean alwaysMaxHeight)