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 pLabel, List<FormattedCharSequence> pTooltip, String p_101103_, GameRules.BooleanValue pValue) -
Method Summary
Modifier and TypeMethodDescriptionvoid
render
(GuiGraphics pGuiGraphics, int pIndex, int pTop, int pLeft, int pWidth, int pHeight, int pMouseX, int pMouseY, boolean pHovering, float pPartialTick) 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 pLabel, List<FormattedCharSequence> pTooltip, String p_101103_, GameRules.BooleanValue pValue)
-
-
Method Details
-
render
public void render(GuiGraphics pGuiGraphics, int pIndex, int pTop, int pLeft, int pWidth, int pHeight, int pMouseX, int pMouseY, boolean pHovering, float pPartialTick) - Specified by:
render
in classAbstractSelectionList.Entry<EditGameRulesScreen.RuleEntry>
-