net.minecraft.client.gui.screen.world

public class EditGameRulesScreen$BooleanRuleWidget

extends EditGameRulesScreen$NamedRuleWidget

All mapped superinterfaces:

Widget, Element, Navigable, ParentElement

net.minecraft.client.gui.screens.worldselection.EditGameRulesScreen$BooleanRuleEntry
net.minecraft.class_5235$class_5236
net.minecraft.client.gui.screen.world.EditGameRulesScreen$BooleanRuleWidget

Field summary

Modifier and TypeField
private final CyclingButtonWidget<Boolean>
checkbox
field_24300
toggleButton
final EditGameRulesScreen
this$0
field_64208
field_64208

Constructor summary

ModifierConstructor
public (Text this$0, List<OrderedText> name, String description, GameRule<Boolean> ruleName)

Method summary

Modifier and TypeMethod
public void
renderContent(GuiGraphics graphics, int mouseX, int mouseY, boolean hovered, float a)
method_25343(class_332 arg0, int arg1, int arg2, boolean arg3, float arg4)
render(DrawContext arg0, int arg1, int arg2, boolean arg3, float arg4)
private void
lambda$new$1(GameRule arg0, CycleButton arg1, Boolean arg2)
method_76290(class_12279 arg0, class_5676 arg1, Boolean arg2)
method_76290(GameRule arg0, CyclingButtonWidget button, Boolean value)
private static MutableText
lambda$new$0(String arg0, CycleButton arg1)
method_32675(String arg0, class_5676 arg1)
method_32675(String arg0, CyclingButtonWidget button)