net.minecraft.client.gui.screens.worldselection

public class SwitchGrid$SwitchBuilder

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

Field summary

Modifier and TypeField
private final Component
a
label
field_42204
text
f_267484_
private final BooleanSupplier
b
stateSupplier
field_42205
getter
f_267416_
private final Consumer<Boolean>
c
onClicked
field_42206
setter
f_267466_
private Component
d
info
field_42207
tooltip
f_267377_
private BooleanSupplier
e
isActiveCondition
field_42208
toggleable
f_267360_
private final int
f
buttonWidth
field_42209
buttonWidth
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)
toggleable(BooleanSupplier toggleable)
m_267757_(BooleanSupplier arg0)
public SwitchGrid$SwitchBuilder
a(wz arg0)
withInfo(Component arg0)
method_48694(class_2561 arg0)
tooltip(Text tooltip)
m_267664_(C_4996_ arg0)
SwitchGrid$LabeledSwitch
a(ftj$a arg0, fly arg1, int arg2)
build(SwitchGrid$Builder arg0, GridLayout arg1, int arg2)
method_48691(class_8096$class_8097 arg0, class_7845 arg1, int arg2)
build(WorldScreenOptionGrid$Builder gridBuilder, GridWidget gridWidget, int row)
m_269062_(C_267350_$C_267338_ p_271004_, C_263586_ p_270506_, int arg2)