Class ChatSelectionScreen.ChatSelectionList.Entry
java.lang.Object
net.minecraft.client.gui.components.AbstractSelectionList.Entry<ChatSelectionScreen.ChatSelectionList.Entry>
net.minecraft.client.gui.components.ObjectSelectionList.Entry<ChatSelectionScreen.ChatSelectionList.Entry>
net.minecraft.client.gui.screens.reporting.ChatSelectionScreen.ChatSelectionList.Entry
- All Implemented Interfaces:
GuiEventListener,TabOrderedElement,NarrationSupplier
- Direct Known Subclasses:
ChatSelectionScreen.ChatSelectionList.DividerEntry,ChatSelectionScreen.ChatSelectionList.MessageEntry,ChatSelectionScreen.ChatSelectionList.MessageHeadingEntry,ChatSelectionScreen.ChatSelectionList.PaddingEntry
- Enclosing class:
ChatSelectionScreen.ChatSelectionList
public abstract static class ChatSelectionScreen.ChatSelectionList.Entry
extends ObjectSelectionList.Entry<ChatSelectionScreen.ChatSelectionList.Entry>
-
Field Summary
Fields inherited from class net.minecraft.client.gui.components.AbstractSelectionList.Entry
listFields inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
DOUBLE_CLICK_THRESHOLD_MS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanbooleanbooleanmouseClicked(double p_390401_, double p_390417_, int p_390448_) Called when a mouse button is clicked within the GUI element.Methods inherited from class net.minecraft.client.gui.components.ObjectSelectionList.Entry
updateNarrationMethods inherited from class net.minecraft.client.gui.components.AbstractSelectionList.Entry
isFocused, isMouseOver, render, renderBack, setFocusedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
charTyped, getBorderForArrowNavigation, getCurrentFocusPath, getRectangle, keyPressed, keyReleased, mouseDragged, mouseMoved, mouseReleased, mouseScrolled, nextFocusPathMethods inherited from interface net.minecraft.client.gui.components.TabOrderedElement
getTabOrderGroup
-
Constructor Details
-
Entry
public Entry()
-
-
Method Details
-
getNarration
- Specified by:
getNarrationin classObjectSelectionList.Entry<ChatSelectionScreen.ChatSelectionList.Entry>
-
isSelected
public boolean isSelected() -
canSelect
public boolean canSelect() -
canReport
public boolean canReport() -
mouseClicked
public boolean mouseClicked(double p_390401_, double p_390417_, int p_390448_) Description copied from interface:GuiEventListenerCalled when a mouse button is clicked within the GUI element.- Specified by:
mouseClickedin interfaceGuiEventListener- Overrides:
mouseClickedin classObjectSelectionList.Entry<ChatSelectionScreen.ChatSelectionList.Entry>- Parameters:
p_390401_- the X coordinate of the mouse.p_390417_- the Y coordinate of the mouse.p_390448_- the button that was clicked.- Returns:
trueif the event is consumed,falseotherwise.
-