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
- 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_342188_, int p_342251_, int p_342953_, int p_343435_, int p_344535_, int p_343807_, int p_342827_, int p_342128_, boolean p_345345_, float p_344073_) 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_343088_, Component p_343976_)
-
-
Method Details
-
render
public void render(GuiGraphics p_342188_, int p_342251_, int p_342953_, int p_343435_, int p_344535_, int p_343807_, int p_342827_, int p_342128_, boolean p_345345_, float p_344073_) - 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
-