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.controls.KeyBindsList.Entry
net.minecraft.client.gui.screens.controls.KeyBindsList.KeyEntry
- All Implemented Interfaces:
ContainerEventHandler
,GuiEventListener
,TabOrderedElement
- Enclosing class:
KeyBindsList
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Button
private boolean
private final KeyMapping
private final Component
private static final int
private static final Component
private final Button
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
-
Method Summary
Modifier and TypeMethodDescriptionList
<? extends GuiEventListener> children()
List
<? extends NarratableEntry> protected void
void
render
(GuiGraphics p_281805_, int p_281298_, int p_282357_, int p_281373_, int p_283433_, int p_281932_, int p_282224_, int p_282053_, boolean p_282605_, float p_281432_) 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
-
RESET_BUTTON_TITLE
-
PADDING
private static final int PADDING- See Also:
-
key
-
name
-
changeButton
-
resetButton
-
hasCollision
private boolean hasCollision
-
-
Constructor Details
-
KeyEntry
KeyEntry(KeyMapping p_193916_, Component p_193917_)
-
-
Method Details
-
render
public void render(GuiGraphics p_281805_, int p_281298_, int p_282357_, int p_281373_, int p_283433_, int p_281932_, int p_282224_, int p_282053_, boolean p_282605_, float p_281432_) - Specified by:
render
in classAbstractSelectionList.Entry<KeyBindsList.Entry>
-
children
-
narratables
- Specified by:
narratables
in classContainerObjectSelectionList.Entry<KeyBindsList.Entry>
-
refreshEntry
protected void refreshEntry()- Specified by:
refreshEntry
in classKeyBindsList.Entry
-