net.minecraft.client.gui.screens.worldselection

public class SwitchGrid$SwitchBuilder

fdf$d
net.minecraft.client.gui.screens.worldselection.SwitchGrid$SwitchBuilder
net.minecraft.class_8096$class_8099
net.minecraft.unmapped.C_jskhqate$C_efqxshiq
net.minecraft.client.gui.screen.world.WorldScreenOptionGrid$OptionBuilder
net.minecraft.client.gui.screen.world.SwitchGrid$SwitchBuilder
net.minecraft.src.C_267350_$C_267348_

Field summary

Modifier and TypeField
private final Component
a
label
field_42204
f_oiryhcdo
text
label
f_267484_
private final BooleanSupplier
b
stateSupplier
field_42205
f_wthucson
getter
stateSupplier
f_267416_
private final Consumer<Boolean>
c
onClicked
field_42206
f_jzpafoce
setter
onClick
f_267466_
private Component
d
info
field_42207
f_mrhosdwx
tooltip
info
f_267377_
private BooleanSupplier
e
isActiveCondition
field_42208
f_voqanhlf
toggleable
isActive
f_267360_
private final int
f
buttonWidth
field_42209
f_sbjpxwvh
buttonWidth
width
f_267480_

Constructor summary

ModifierConstructor
(Component text, BooleanSupplier getter, Consumer<Boolean> setter, int buttonWidth)

Method summary

Modifier and TypeMethod
public SwitchGrid$SwitchBuilder
a(BooleanSupplier arg0)
withIsActiveCondition(BooleanSupplier arg0)
method_48693(BooleanSupplier arg0)
m_efbbbwdz(BooleanSupplier arg0)
toggleable(BooleanSupplier toggleable)
condition(BooleanSupplier condition)
m_267757_(BooleanSupplier arg0)
public SwitchGrid$SwitchBuilder
a(tl arg0)
withInfo(Component arg0)
method_48694(class_2561 arg0)
m_xejkmeoo(C_rdaqiwdt arg0)
tooltip(Text tooltip)
info(Text info)
m_267664_(C_4996_ arg0)
SwitchGrid$LabeledSwitch
a(fdf$a arg0, evy arg1, int arg2)
build(SwitchGrid$Builder arg0, GridLayout arg1, int arg2)
method_48691(class_8096$class_8097 arg0, class_7845 arg1, int arg2)
m_fzmdbkio(C_jskhqate$C_gwrkidid arg0, C_qykucwmu arg1, int arg2)
build(WorldScreenOptionGrid$Builder gridBuilder, GridWidget gridWidget, int row)
build(SwitchGrid$Builder gridBuilder, GridWidget grid, int column)
m_269062_(C_267350_$C_267338_ p_271004_, C_263586_ p_270506_, int arg2)