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
- Direct Known Subclasses:
EditGameRulesScreen.RuleEntry
,KeyBindsList.Entry
,OptionsList.Entry
,PlayerEntry
- 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 TypeMethodDescriptionboolean
abstract List<? extends NarratableEntry>
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
isMouseOver, render
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, children, getChildAt, keyPressed, keyReleased, magicalSpecialHackyFocus, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setInitialFocus
Methods inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
isMouseOver, mouseMoved
-
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
-
setFocused
- Specified by:
setFocused
in interfaceContainerEventHandler
-
getFocused
- Specified by:
getFocused
in interfaceContainerEventHandler
-
narratables
-
updateNarration
-