Class ChatSelectionScreen.ChatSelectionList.MessageHeadingEntry
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
net.minecraft.client.gui.screens.reporting.ChatSelectionScreen.ChatSelectionList.MessageHeadingEntry
- All Implemented Interfaces:
GuiEventListener
,TabOrderedElement
,NarrationSupplier
- Enclosing class:
ChatSelectionScreen.ChatSelectionList
public class ChatSelectionScreen.ChatSelectionList.MessageHeadingEntry
extends ChatSelectionScreen.ChatSelectionList.Entry
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final boolean
private static final int
private final Component
private static final int
private final Supplier
<PlayerSkin> 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
ConstructorsConstructorDescriptionMessageHeadingEntry
(com.mojang.authlib.GameProfile p_240080_, Component p_240081_, boolean p_240082_) -
Method Summary
Modifier and TypeMethodDescriptionvoid
render
(GuiGraphics pGuiGraphics, int pIndex, int pTop, int pLeft, int pWidth, int pHeight, int pMouseX, int pMouseY, boolean pHovering, float pPartialTick) Methods inherited from class net.minecraft.client.gui.screens.reporting.ChatSelectionScreen.ChatSelectionList.Entry
canReport, canSelect, getNarration, isSelected
Methods inherited from class net.minecraft.client.gui.components.ObjectSelectionList.Entry
mouseClicked, updateNarration
Methods inherited from class net.minecraft.client.gui.components.AbstractSelectionList.Entry
isFocused, isMouseOver, 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.GuiEventListener
charTyped, getCurrentFocusPath, getRectangle, keyPressed, keyReleased, mouseDragged, mouseMoved, mouseReleased, mouseScrolled, nextFocusPath
Methods inherited from interface net.minecraft.client.gui.components.TabOrderedElement
getTabOrderGroup
-
Field Details
-
FACE_SIZE
private static final int FACE_SIZE- See Also:
-
PADDING
private static final int PADDING- See Also:
-
heading
-
skin
-
canReport
private final boolean canReport
-
-
Constructor Details
-
MessageHeadingEntry
public MessageHeadingEntry(com.mojang.authlib.GameProfile p_240080_, Component p_240081_, boolean p_240082_)
-
-
Method Details
-
render
public void render(GuiGraphics pGuiGraphics, int pIndex, int pTop, int pLeft, int pWidth, int pHeight, int pMouseX, int pMouseY, boolean pHovering, float pPartialTick) - Specified by:
render
in classAbstractSelectionList.Entry<ChatSelectionScreen.ChatSelectionList.Entry>
-