net.minecraft.client.gui.screen.world

record WorldScreenOptionGrid$Option

net.minecraft.client.gui.screens.worldselection.SwitchGrid$LabeledSwitch
net.minecraft.class_8096$class_8098
net.minecraft.client.gui.screen.world.WorldScreenOptionGrid$Option

Field summary

Modifier and TypeField
private final CyclingButtonWidget<Boolean>
button
comp_1261
button
private final BooleanSupplier
stateSupplier
comp_1262
getter
private final BooleanSupplier
isActiveCondition
comp_1263
toggleable

Constructor summary

ModifierConstructor
private (CyclingButtonWidget<Boolean> button, BooleanSupplier getter, BooleanSupplier toggleable)

Method summary

Modifier and TypeMethod
public void
refreshState()
method_48688()
refresh()
public CyclingButtonWidget<Boolean>
button()
comp_1261()
button()
public BooleanSupplier
stateSupplier()
comp_1262()
getter()
public BooleanSupplier
isActiveCondition()
comp_1263()
toggleable()