Class ContainerObjectSelectionList.Entry<E extends ContainerObjectSelectionList.Entry<E>>
java.lang.Object
net.minecraft.client.gui.components.AbstractSelectionList.Entry<E>
net.minecraft.client.gui.components.ContainerObjectSelectionList.Entry<E>
- All Implemented Interfaces:
ContainerEventHandler
,GuiEventListener
,TabOrderedElement
- Direct Known Subclasses:
EditGameRulesScreen.RuleEntry
,KeyBindsList.Entry
,OptionsList.Entry
,PlayerEntry
,RealmsBackupScreen.Entry
,RealmsPlayerScreen.Entry
- Enclosing class:
ContainerObjectSelectionList<E extends ContainerObjectSelectionList.Entry<E>>
public abstract static class ContainerObjectSelectionList.Entry<E extends ContainerObjectSelectionList.Entry<E>>
extends AbstractSelectionList.Entry<E>
implements ContainerEventHandler
-
Field Summary
Modifier and TypeFieldDescriptionprivate boolean
private GuiEventListener
private NarratableEntry
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 TypeMethodDescriptionfocusPathAtIndex
(FocusNavigationEvent p_265435_, int p_265432_) boolean
boolean
mouseClicked
(double p_265453_, double p_265297_, int p_265697_) abstract List
<? extends NarratableEntry> nextFocusPath
(FocusNavigationEvent p_265672_) void
setDragging
(boolean p_94028_) void
setFocused
(GuiEventListener p_94024_) (package private) void
updateNarration
(NarrationElementOutput p_168855_) Methods inherited from class net.minecraft.client.gui.components.AbstractSelectionList.Entry
isFocused, isMouseOver, render, 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, children, 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
-
focused
-
lastNarratable
-
dragging
private boolean dragging
-
-
Constructor Details
-
Entry
public Entry()
-
-
Method Details
-
isDragging
public boolean isDragging()- Specified by:
isDragging
in interfaceContainerEventHandler
-
setDragging
public void setDragging(boolean p_94028_) - Specified by:
setDragging
in interfaceContainerEventHandler
-
mouseClicked
public boolean mouseClicked(double p_265453_, double p_265297_, int p_265697_) - Specified by:
mouseClicked
in interfaceContainerEventHandler
- Specified by:
mouseClicked
in interfaceGuiEventListener
-
setFocused
- Specified by:
setFocused
in interfaceContainerEventHandler
-
getFocused
- Specified by:
getFocused
in interfaceContainerEventHandler
-
narratables
-
updateNarration
-