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, LayoutElement, 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 AbstractSelectionList.Entry
CONTENT_PADDING, list -
Constructor Summary
ConstructorsConstructorDescriptionMessageHeadingEntry(com.mojang.authlib.GameProfile profile, Component heading, boolean canReport) -
Method Summary
Modifier and TypeMethodDescriptionvoidrenderContent(GuiGraphics graphics, int mouseX, int mouseY, boolean hovered, float a) Methods inherited from class ChatSelectionScreen.ChatSelectionList.Entry
canReport, canSelect, getNarration, isSelected, mouseClickedMethods inherited from class ObjectSelectionList.Entry
updateNarrationMethods inherited from class AbstractSelectionList.Entry
getContentBottom, getContentHeight, getContentRight, getContentWidth, getContentX, getContentXMiddle, getContentY, getContentYMiddle, getHeight, getRectangle, getWidth, getX, getY, isFocused, isMouseOver, setFocused, setHeight, setWidth, setX, setY, visitWidgetsMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface GuiEventListener
charTyped, getBorderForArrowNavigation, getCurrentFocusPath, keyPressed, keyReleased, mouseDragged, mouseMoved, mouseReleased, mouseScrolled, nextFocusPath, shouldTakeFocusAfterInteractionMethods inherited from interface LayoutElement
setPositionMethods inherited from interface 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
-
renderContent
- Specified by:
renderContentin classAbstractSelectionList.Entry<ChatSelectionScreen.ChatSelectionList.Entry>
-