Class KeyBindsList.KeyEntry
java.lang.Object
net.minecraft.client.gui.components.AbstractSelectionList.Entry<E>
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 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
(PoseStack p_193923_, int p_193924_, int p_193925_, int p_193926_, int p_193927_, int p_193928_, int p_193929_, int p_193930_, boolean p_193931_, float p_193932_) 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, magicalSpecialHackyFocus, 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
-
key
-
name
-
changeButton
-
resetButton
-
hasCollision
private boolean hasCollision
-
-
Constructor Details
-
KeyEntry
KeyEntry(KeyMapping p_193916_, Component p_193917_)
-
-
Method Details
-
render
public void render(PoseStack p_193923_, int p_193924_, int p_193925_, int p_193926_, int p_193927_, int p_193928_, int p_193929_, int p_193930_, boolean p_193931_, float p_193932_) - 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
-