Class AbstractGameRulesScreen.IntegerRuleEntry
java.lang.Object
net.minecraft.client.gui.components.AbstractSelectionList.Entry<AbstractGameRulesScreen.RuleEntry>
net.minecraft.client.gui.components.ContainerObjectSelectionList.Entry<AbstractGameRulesScreen.RuleEntry>
net.minecraft.client.gui.screens.worldselection.AbstractGameRulesScreen.RuleEntry
net.minecraft.client.gui.screens.worldselection.AbstractGameRulesScreen.GameRuleEntry
net.minecraft.client.gui.screens.worldselection.AbstractGameRulesScreen.IntegerRuleEntry
- All Implemented Interfaces:
ContainerEventHandler, GuiEventListener, TabOrderedElement, LayoutElement
- Enclosing class:
AbstractGameRulesScreen
-
Field Summary
FieldsFields inherited from class AbstractGameRulesScreen.GameRuleEntry
childrenFields inherited from class AbstractSelectionList.Entry
CONTENT_PADDING, list -
Constructor Summary
ConstructorsConstructorDescriptionIntegerRuleEntry(Component label, List<FormattedCharSequence> tooltip, String narration, GameRule<Integer> gameRule) -
Method Summary
Modifier and TypeMethodDescriptionvoidextractContent(GuiGraphicsExtractor graphics, int mouseX, int mouseY, boolean hovered, float a) Methods inherited from class AbstractGameRulesScreen.GameRuleEntry
children, extractLabel, narratablesMethods inherited from class ContainerObjectSelectionList.Entry
focusPathAtIndex, getFocused, isDragging, mouseClicked, nextFocusPath, setDragging, setFocusedMethods inherited from class AbstractSelectionList.Entry
getContentBottom, getContentHeight, getContentRight, getContentWidth, getContentX, getContentXMiddle, getContentY, getContentYMiddle, getHeight, getRectangle, getWidth, getX, getY, isFocused, isMouseOver, setFocused, setHeight, setWidth, setX, setY, visitWidgetsMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ContainerEventHandler
charTyped, getBorderForArrowNavigation, getChildAt, getCurrentFocusPath, isFocused, keyPressed, keyReleased, mouseDragged, mouseReleased, mouseScrolled, preeditUpdated, setFocusedMethods inherited from interface GuiEventListener
getRectangle, isMouseOver, mouseMoved, shouldTakeFocusAfterInteractionMethods inherited from interface LayoutElement
setPositionMethods inherited from interface TabOrderedElement
getTabOrderGroup
-
Field Details
-
input
-
-
Constructor Details
-
IntegerRuleEntry
-
-
Method Details
-
extractContent
public void extractContent(GuiGraphicsExtractor graphics, int mouseX, int mouseY, boolean hovered, float a) - Specified by:
extractContentin classAbstractSelectionList.Entry<AbstractGameRulesScreen.RuleEntry>
-