Class ChatSelectionScreen.SelectionListWidget.SenderEntry
java.lang.Object
net.minecraft.client.gui.widget.EntryListWidget.Entry<E>
net.minecraft.client.gui.widget.AlwaysSelectedEntryListWidget.Entry<ChatSelectionScreen.SelectionListWidget.Entry>
net.minecraft.client.gui.screen.report.ChatSelectionScreen.SelectionListWidget.Entry
net.minecraft.client.gui.screen.report.ChatSelectionScreen.SelectionListWidget.SenderEntry
- All Implemented Interfaces:
Element
,Narratable
,Navigable
- Enclosing class:
ChatSelectionScreen.SelectionListWidget
@Environment(CLIENT)
public class ChatSelectionScreen.SelectionListWidget.SenderEntry
extends ChatSelectionScreen.SelectionListWidget.Entry
- Mappings:
Namespace Name official fcj$a$e
intermediary net/minecraft/class_7543$class_7544$class_7549
named net/minecraft/client/gui/screen/report/ChatSelectionScreen$SelectionListWidget$SenderEntry
-
Field Summary
Modifier and TypeFieldDescriptionprivate final boolean
private final Text
private static final int
private final Supplier<SkinTextures>
Fields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL
-
Constructor Summary
ConstructorDescriptionSenderEntry
(com.mojang.authlib.GameProfile gameProfile, Text headingText, boolean fromReportedPlayer) -
Method Summary
Modifier and TypeMethodDescriptionvoid
render
(DrawContext context, int index, int y, int x, int entryWidth, int entryHeight, int mouseX, int mouseY, boolean hovered, float tickDelta) Renders an entry in a list.Methods inherited from class net.minecraft.client.gui.screen.report.ChatSelectionScreen.SelectionListWidget.Entry
canSelect, getNarration, isHighlightedOnHover, isSelected
Methods inherited from class net.minecraft.client.gui.widget.AlwaysSelectedEntryListWidget.Entry
appendNarrations
Methods inherited from class net.minecraft.client.gui.widget.EntryListWidget.Entry
drawBorder, isFocused, isMouseOver, 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.Element
charTyped, getFocusedPath, getNavigationFocus, getNavigationPath, keyPressed, keyReleased, mouseClicked, mouseDragged, mouseMoved, mouseReleased, mouseScrolled
Methods inherited from interface net.minecraft.client.gui.navigation.Navigable
getNavigationOrder
-
Field Details
-
PLAYER_SKIN_SIZE
private static final int PLAYER_SKIN_SIZE- See Also:
- Mappings:
Namespace Name Mixin selector official c
Lfcj$a$e;c:I
intermediary field_39607
Lnet/minecraft/class_7543$class_7544$class_7549;field_39607:I
named PLAYER_SKIN_SIZE
Lnet/minecraft/client/gui/screen/report/ChatSelectionScreen$SelectionListWidget$SenderEntry;PLAYER_SKIN_SIZE:I
-
headingText
- Mappings:
Namespace Name Mixin selector official d
Lfcj$a$e;d:Ltl;
intermediary field_39608
Lnet/minecraft/class_7543$class_7544$class_7549;field_39608:Lnet/minecraft/class_2561;
named headingText
Lnet/minecraft/client/gui/screen/report/ChatSelectionScreen$SelectionListWidget$SenderEntry;headingText:Lnet/minecraft/text/Text;
-
skinTexturesSupplier
- Mappings:
Namespace Name Mixin selector official e
Lfcj$a$e;e:Ljava/util/function/Supplier;
intermediary field_39609
Lnet/minecraft/class_7543$class_7544$class_7549;field_39609:Ljava/util/function/Supplier;
named skinTexturesSupplier
Lnet/minecraft/client/gui/screen/report/ChatSelectionScreen$SelectionListWidget$SenderEntry;skinTexturesSupplier:Ljava/util/function/Supplier;
-
fromReportedPlayer
private final boolean fromReportedPlayer- Mappings:
Namespace Name Mixin selector official f
Lfcj$a$e;f:Z
intermediary field_39610
Lnet/minecraft/class_7543$class_7544$class_7549;field_39610:Z
named fromReportedPlayer
Lnet/minecraft/client/gui/screen/report/ChatSelectionScreen$SelectionListWidget$SenderEntry;fromReportedPlayer:Z
-
-
Constructor Details
-
SenderEntry
public SenderEntry(com.mojang.authlib.GameProfile gameProfile, Text headingText, boolean fromReportedPlayer) - Mappings:
Namespace Name Mixin selector official <init>
Lfcj$a$e;<init>(Lfcj$a;Lcom/mojang/authlib/GameProfile;Ltl;Z)V
intermediary <init>
Lnet/minecraft/class_7543$class_7544$class_7549;<init>(Lnet/minecraft/class_7543$class_7544;Lcom/mojang/authlib/GameProfile;Lnet/minecraft/class_2561;Z)V
named <init>
Lnet/minecraft/client/gui/screen/report/ChatSelectionScreen$SelectionListWidget$SenderEntry;<init>(Lnet/minecraft/client/gui/screen/report/ChatSelectionScreen$SelectionListWidget;Lcom/mojang/authlib/GameProfile;Lnet/minecraft/text/Text;Z)V
-
-
Method Details
-
render
public void render(DrawContext context, int index, int y, int x, int entryWidth, int entryHeight, int mouseX, int mouseY, boolean hovered, float tickDelta) Renders an entry in a list.- Specified by:
render
in classEntryListWidget.Entry<ChatSelectionScreen.SelectionListWidget.Entry>
- Parameters:
index
- the index of the entryy
- the Y coordinate of the entryx
- the X coordinate of the entryentryWidth
- the width of the entryentryHeight
- the height of the entrymouseX
- the X coordinate of the mousemouseY
- the Y coordinate of the mousehovered
- whether the mouse is hovering over the entry- Mappings:
Namespace Name Mixin selector official a
Lesl$a;a(Lesf;IIIIIIIZF)V
intermediary method_25343
Lnet/minecraft/class_350$class_351;method_25343(Lnet/minecraft/class_332;IIIIIIIZF)V
named render
Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;render(Lnet/minecraft/client/gui/DrawContext;IIIIIIIZF)V
-