Class EditGameRulesScreen.BooleanRuleEntry
java.lang.Object
net.minecraft.client.gui.components.AbstractSelectionList.Entry<EditGameRulesScreen.RuleEntry>
net.minecraft.client.gui.components.ContainerObjectSelectionList.Entry<EditGameRulesScreen.RuleEntry>
net.minecraft.client.gui.screens.worldselection.EditGameRulesScreen.RuleEntry
net.minecraft.client.gui.screens.worldselection.EditGameRulesScreen.GameRuleEntry
net.minecraft.client.gui.screens.worldselection.EditGameRulesScreen.BooleanRuleEntry
- All Implemented Interfaces:
ContainerEventHandler
,GuiEventListener
,TabOrderedElement
- Enclosing class:
EditGameRulesScreen
-
Field Summary
FieldsFields inherited from class net.minecraft.client.gui.screens.worldselection.EditGameRulesScreen.GameRuleEntry
children
Fields inherited from class net.minecraft.client.gui.screens.worldselection.EditGameRulesScreen.RuleEntry
tooltip
Fields inherited from class net.minecraft.client.gui.components.AbstractSelectionList.Entry
list
Fields inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
DOUBLE_CLICK_THRESHOLD_MS
-
Constructor Summary
ConstructorsConstructorDescriptionBooleanRuleEntry
(Component label, List<FormattedCharSequence> tooltip, String p_101103_, GameRules.BooleanValue value) -
Method Summary
Modifier and TypeMethodDescriptionvoid
render
(GuiGraphics guiGraphics, int index, int top, int left, int width, int height, int mouseX, int mouseY, boolean hovering, float partialTick) Methods inherited from class net.minecraft.client.gui.screens.worldselection.EditGameRulesScreen.GameRuleEntry
children, narratables, renderLabel
Methods inherited from class net.minecraft.client.gui.components.ContainerObjectSelectionList.Entry
focusPathAtIndex, getFocused, isDragging, mouseClicked, nextFocusPath, setDragging, setFocused
Methods inherited from class net.minecraft.client.gui.components.AbstractSelectionList.Entry
isFocused, isMouseOver, renderBack, setFocused
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.client.gui.components.events.ContainerEventHandler
charTyped, getChildAt, getCurrentFocusPath, isFocused, keyPressed, keyReleased, mouseDragged, mouseReleased, mouseScrolled, setFocused
Methods inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
getRectangle, isMouseOver, mouseMoved
Methods inherited from interface net.minecraft.client.gui.components.TabOrderedElement
getTabOrderGroup
-
Field Details
-
checkbox
-
-
Constructor Details
-
BooleanRuleEntry
public BooleanRuleEntry(Component label, List<FormattedCharSequence> tooltip, String p_101103_, GameRules.BooleanValue value)
-
-
Method Details
-
render
public void render(GuiGraphics guiGraphics, int index, int top, int left, int width, int height, int mouseX, int mouseY, boolean hovering, float partialTick) - Specified by:
render
in classAbstractSelectionList.Entry<EditGameRulesScreen.RuleEntry>
-