net.minecraft.client.gui.screens.worldselection

public class SwitchGrid$SwitchBuilder

fzg$d
net.minecraft.client.gui.screens.worldselection.SwitchGrid$SwitchBuilder
net.minecraft.class_8096$class_8099
net.minecraft.client.gui.screen.world.WorldScreenOptionGrid$OptionBuilder

Field summary

Modifier and TypeField
private final Component
a
label
field_42204
text
private final BooleanSupplier
b
stateSupplier
field_42205
getter
private final Consumer<Boolean>
c
onClicked
field_42206
setter
private Component
d
info
field_42207
tooltip
private BooleanSupplier
e
isActiveCondition
field_42208
toggleable
private final int
f
buttonWidth
field_42209
buttonWidth

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)
public SwitchGrid$SwitchBuilder
a(xv arg0)
withInfo(Component arg0)
method_48694(class_2561 arg0)
tooltip(Text tooltip)
SwitchGrid$LabeledSwitch
a(fzg$a arg0, frt 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)