Class ControlList.KeyEntry
java.lang.Object
net.minecraft.client.gui.components.AbstractSelectionList.Entry<E>
net.minecraft.client.gui.components.ContainerObjectSelectionList.Entry<ControlList.Entry>
net.minecraft.client.gui.screens.controls.ControlList.Entry
net.minecraft.client.gui.screens.controls.ControlList.KeyEntry
- All Implemented Interfaces:
ContainerEventHandler
,GuiEventListener
- Enclosing class:
- ControlList
-
Field Summary
Modifier and TypeFieldDescriptionprivate Button
private KeyMapping
private Component
private Button
Fields inherited from class net.minecraft.client.gui.components.AbstractSelectionList.Entry
list
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionList<? extends GuiEventListener>
children()
boolean
mouseClicked(double p_97459_, double p_97460_, int p_97461_)
boolean
mouseReleased(double p_97481_, double p_97482_, int p_97483_)
List<? extends NarratableEntry>
void
render(PoseStack p_97463_, int p_97464_, int p_97465_, int p_97466_, int p_97467_, int p_97468_, int p_97469_, int p_97470_, boolean p_97471_, float p_97472_)
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_97451_, Component p_97452_)
-
-
Method Details
-
render
public void render(PoseStack p_97463_, int p_97464_, int p_97465_, int p_97466_, int p_97467_, int p_97468_, int p_97469_, int p_97470_, boolean p_97471_, float p_97472_)- Specified by:
render
in classAbstractSelectionList.Entry<ControlList.Entry>
-
children
-
narratables
- Specified by:
narratables
in classContainerObjectSelectionList.Entry<ControlList.Entry>
-
mouseClicked
public boolean mouseClicked(double p_97459_, double p_97460_, int p_97461_) -
mouseReleased
public boolean mouseReleased(double p_97481_, double p_97482_, int p_97483_)
-