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 booleanprivate static final intprivate final Componentprivate static final intprivate final Supplier<PlayerSkin> 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
ConstructorsConstructorDescriptionMessageHeadingEntry(com.mojang.authlib.GameProfile profile, Component heading, boolean canReport) -
Method Summary
Modifier and TypeMethodDescriptionvoidrender(GuiGraphics guiGraphics, int index, int top, int left, int width, int height, int mouseX, int mouseY, boolean hovering, float partialTick) Methods inherited from class net.minecraft.client.gui.screens.reporting.ChatSelectionScreen.ChatSelectionList.Entry
canReport, canSelect, getNarration, isSelectedMethods inherited from class net.minecraft.client.gui.components.ObjectSelectionList.Entry
mouseClicked, updateNarrationMethods inherited from class net.minecraft.client.gui.components.AbstractSelectionList.Entry
isFocused, isMouseOver, 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, getCurrentFocusPath, getRectangle, keyPressed, keyReleased, mouseDragged, mouseMoved, mouseReleased, mouseScrolled, nextFocusPathMethods 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 profile, Component heading, boolean canReport)
-
-
Method Details
-
render
public void render(GuiGraphics guiGraphics, int index, int top, int left, int width, int height, int mouseX, int mouseY, boolean hovering, float partialTick) - Specified by:
renderin classAbstractSelectionList.Entry<ChatSelectionScreen.ChatSelectionList.Entry>
-