net.minecraft.client.gui.screens.worldselection

public class SwitchGrid$Builder

ezh$a
net.minecraft.client.gui.screens.worldselection.SwitchGrid$Builder
net.minecraft.class_8096$class_8097
net.minecraft.client.gui.screen.world.WorldScreenOptionGrid$Builder
net.minecraft.src.C_267350_$C_267338_

Field summary

Modifier and TypeField
final int
a
width
field_42198
width
f_267465_
private final List<SwitchGrid$SwitchBuilder>
b
switchBuilders
field_42199
options
f_267393_
int
c
paddingLeft
field_42200
marginLeft
f_267428_
int
d
rowSpacing
field_42509
rowSpacing
f_268625_
int
e
rowCount
field_42510
rows
f_268635_
Optional<SwitchGrid$InfoUnderneathSettings>
f
infoUnderneath
field_42511
tooltipBoxDisplay
f_268462_

Constructor summary

ModifierConstructor
public (int width)

Method summary

Modifier and TypeMethod
void
a()
increaseRow()
method_49025()
incrementRows()
m_269089_()
public SwitchGrid$SwitchBuilder
a(sw 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)
m_267583_(C_4996_ p_268017_, BooleanSupplier p_268320_, Consumer<Boolean> arg2)
public SwitchGrid$Builder
a(int arg0)
withPaddingLeft(int arg0)
method_48685(int arg0)
marginLeft(int marginLeft)
m_267620_(int arg0)
public SwitchGrid$Builder
b(int arg0)
withRowSpacing(int arg0)
method_49027(int arg0)
setRowSpacing(int rowSpacing)
m_269119_(int arg0)
public SwitchGrid
a(Consumer<esi> arg0)
build(Consumer<LayoutElement> arg0)
method_48686(Consumer<class_8021> arg0)
build(Consumer<Widget> widgetConsumer)
m_267588_(Consumer<C_263644_> arg0)
public SwitchGrid$Builder
a(int arg0, boolean arg1)
withInfoUnderneath(int arg0, boolean arg1)
method_49026(int arg0, boolean arg1)
withTooltipBox(int maxInfoRows, boolean alwaysMaxHeight)
m_269141_(int p_270594_, boolean arg1)