net.minecraft.client.gui.screens.worldselection

public class SwitchGrid$Builder

fzg$a
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
final int
a
width
field_42198
width
private final List<SwitchGrid$SwitchBuilder>
b
switchBuilders
field_42199
options
int
c
paddingLeft
field_42200
marginLeft
int
d
rowSpacing
field_42509
rowSpacing
int
e
rowCount
field_42510
rows
Optional<SwitchGrid$InfoUnderneathSettings>
f
infoUnderneath
field_42511
tooltipBoxDisplay

Constructor summary

ModifierConstructor
public (int width)

Method summary

Modifier and TypeMethod
void
a()
increaseRow()
method_49025()
incrementRows()
public SwitchGrid$SwitchBuilder
a(xv arg0, BooleanSupplier arg1, Consumer<Boolean> arg2)
addSwitch(Component arg0, BooleanSupplier arg1, Consumer<Boolean> arg2)
method_48687(class_2561 arg0, BooleanSupplier arg1, Consumer<Boolean> arg2)
add(Text text, BooleanSupplier getter, Consumer<Boolean> setter)
public SwitchGrid$Builder
a(int arg0)
withPaddingLeft(int arg0)
method_48685(int arg0)
marginLeft(int marginLeft)
public SwitchGrid$Builder
b(int arg0)
withRowSpacing(int arg0)
method_49027(int arg0)
setRowSpacing(int rowSpacing)
public SwitchGrid
a(Consumer<frw> arg0)
build(Consumer<LayoutElement> arg0)
method_48686(Consumer<class_8021> arg0)
build(Consumer<Widget> widgetConsumer)
public SwitchGrid$Builder
a(int arg0, boolean arg1)
withInfoUnderneath(int arg0, boolean arg1)
method_49026(int arg0, boolean arg1)
withTooltipBox(int maxInfoRows, boolean alwaysMaxHeight)