Class KeyBindsList.KeyEntry
java.lang.Object
net.minecraft.client.gui.components.AbstractSelectionList.Entry<KeyBindsList.Entry>
net.minecraft.client.gui.components.ContainerObjectSelectionList.Entry<KeyBindsList.Entry>
net.minecraft.client.gui.screens.options.controls.KeyBindsList.Entry
net.minecraft.client.gui.screens.options.controls.KeyBindsList.KeyEntry
- All Implemented Interfaces:
ContainerEventHandler,GuiEventListener,TabOrderedElement,LayoutElement
- Enclosing class:
KeyBindsList
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Buttonprivate booleanprivate final KeyMappingprivate final Componentprivate static final intprivate static final Componentprivate final ButtonFields inherited from class net.minecraft.client.gui.components.AbstractSelectionList.Entry
CONTENT_PADDING, list -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList<? extends GuiEventListener> children()List<? extends NarratableEntry> protected voidvoidrenderContent(GuiGraphics p_438877_, int p_439499_, int p_440337_, boolean p_440415_, float p_439878_) Methods inherited from class net.minecraft.client.gui.components.ContainerObjectSelectionList.Entry
focusPathAtIndex, getFocused, isDragging, mouseClicked, nextFocusPath, setDragging, setFocusedMethods inherited from class net.minecraft.client.gui.components.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 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.components.events.ContainerEventHandler
charTyped, getChildAt, getCurrentFocusPath, isFocused, keyPressed, keyReleased, mouseDragged, mouseReleased, mouseScrolled, setFocusedMethods inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
getBorderForArrowNavigation, getRectangle, isMouseOver, mouseMoved, shouldTakeFocusAfterInteractionMethods inherited from interface net.minecraft.client.gui.layouts.LayoutElement
setPositionMethods inherited from interface net.minecraft.client.gui.components.TabOrderedElement
getTabOrderGroup
-
Field Details
-
RESET_BUTTON_TITLE
-
PADDING
private static final int PADDING- See Also:
-
key
-
name
-
changeButton
-
resetButton
-
hasCollision
private boolean hasCollision
-
-
Constructor Details
-
KeyEntry
KeyEntry(KeyMapping pKey, Component pName)
-
-
Method Details
-
renderContent
public void renderContent(GuiGraphics p_438877_, int p_439499_, int p_440337_, boolean p_440415_, float p_439878_) - Specified by:
renderContentin classAbstractSelectionList.Entry<KeyBindsList.Entry>
-
children
-
narratables
- Specified by:
narratablesin classContainerObjectSelectionList.Entry<KeyBindsList.Entry>
-
refreshEntry
protected void refreshEntry()- Specified by:
refreshEntryin classKeyBindsList.Entry
-