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
- Enclosing class:
- KeyBindsList
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Button
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()
boolean
mouseClicked
(double p_193919_, double p_193920_, int p_193921_) boolean
mouseReleased
(double p_193941_, double p_193942_, int p_193943_) List<? extends NarratableEntry>
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
getFocused, isDragging, setDragging, setFocused
Methods inherited from class net.minecraft.client.gui.components.AbstractSelectionList.Entry
isMouseOver
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
changeFocus, charTyped, getChildAt, keyPressed, keyReleased, magicalSpecialHackyFocus, mouseDragged, mouseScrolled, setInitialFocus
Methods inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
isMouseOver, mouseMoved
-
Field Details
-
key
-
name
-
changeButton
-
resetButton
-
-
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>
-
mouseClicked
public boolean mouseClicked(double p_193919_, double p_193920_, int p_193921_) -
mouseReleased
public boolean mouseReleased(double p_193941_, double p_193942_, int p_193943_)
-