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.abusereport.ChatSelectionScreen.SelectionListWidget.Entry
net.minecraft.client.gui.screen.abusereport.ChatSelectionScreen.SelectionListWidget.SenderEntry
- All Implemented Interfaces:
Element,Narratable
- Enclosing class:
ChatSelectionScreen.SelectionListWidget
@Environment(CLIENT)
public class ChatSelectionScreen.SelectionListWidget.SenderEntry
extends ChatSelectionScreen.SelectionListWidget.Entry
- Mappings:
Namespace Name official eoi$a$eintermediary net/minecraft/class_7543$class_7544$class_7549named net/minecraft/client/gui/screen/abusereport/ChatSelectionScreen$SelectionListWidget$SenderEntry
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final booleanprivate final Textprivate static final intprivate final IdentifierFields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL -
Constructor Summary
ConstructorsConstructorDescriptionSenderEntry(com.mojang.authlib.GameProfile gameProfile, Text headingText, boolean fromReportedPlayer) -
Method Summary
Modifier and TypeMethodDescriptionprivate voiddrawSkin(MatrixStack matrices, int x, int y, Identifier skinTextureId) private IdentifiergetSkinTextureId(com.mojang.authlib.GameProfile gameProfile) voidrender(MatrixStack matrices, 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.abusereport.ChatSelectionScreen.SelectionListWidget.Entry
canSelect, getNarration, isSelectedMethods inherited from class net.minecraft.client.gui.widget.AlwaysSelectedEntryListWidget.Entry
appendNarrations, changeFocusMethods inherited from class net.minecraft.client.gui.widget.EntryListWidget.Entry
isMouseOverMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.Element
charTyped, keyPressed, keyReleased, mouseClicked, mouseDragged, mouseMoved, mouseReleased, mouseScrolled
-
Field Details
-
PLAYER_SKIN_SIZE
private static final int PLAYER_SKIN_SIZE- See Also:
- Mappings:
Namespace Name Mixin selector official cLeoi$a$e;c:Iintermediary field_39607Lnet/minecraft/class_7543$class_7544$class_7549;field_39607:Inamed PLAYER_SKIN_SIZELnet/minecraft/client/gui/screen/abusereport/ChatSelectionScreen$SelectionListWidget$SenderEntry;PLAYER_SKIN_SIZE:I
-
headingText
- Mappings:
Namespace Name Mixin selector official dLeoi$a$e;d:Lrm;intermediary field_39608Lnet/minecraft/class_7543$class_7544$class_7549;field_39608:Lnet/minecraft/class_2561;named headingTextLnet/minecraft/client/gui/screen/abusereport/ChatSelectionScreen$SelectionListWidget$SenderEntry;headingText:Lnet/minecraft/text/Text;
-
skinTextureId
- Mappings:
Namespace Name Mixin selector official eLeoi$a$e;e:Laaj;intermediary field_39609Lnet/minecraft/class_7543$class_7544$class_7549;field_39609:Lnet/minecraft/class_2960;named skinTextureIdLnet/minecraft/client/gui/screen/abusereport/ChatSelectionScreen$SelectionListWidget$SenderEntry;skinTextureId:Lnet/minecraft/util/Identifier;
-
fromReportedPlayer
private final boolean fromReportedPlayer- Mappings:
Namespace Name Mixin selector official fLeoi$a$e;f:Zintermediary field_39610Lnet/minecraft/class_7543$class_7544$class_7549;field_39610:Znamed fromReportedPlayerLnet/minecraft/client/gui/screen/abusereport/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>Leoi$a$e;<init>(Leoi$a;Lcom/mojang/authlib/GameProfile;Lrm;Z)Vintermediary <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)Vnamed <init>Lnet/minecraft/client/gui/screen/abusereport/ChatSelectionScreen$SelectionListWidget$SenderEntry;<init>(Lnet/minecraft/client/gui/screen/abusereport/ChatSelectionScreen$SelectionListWidget;Lcom/mojang/authlib/GameProfile;Lnet/minecraft/text/Text;Z)V
-
-
Method Details
-
render
public void render(MatrixStack matrices, 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:
renderin classEntryListWidget.Entry<ChatSelectionScreen.SelectionListWidget.Entry>- Parameters:
matrices- the matrix stack used for renderingindex- 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 aLegq$a;a(Ldzu;IIIIIIIZF)Vintermediary method_25343Lnet/minecraft/class_350$class_351;method_25343(Lnet/minecraft/class_4587;IIIIIIIZF)Vnamed renderLnet/minecraft/client/gui/widget/EntryListWidget$Entry;render(Lnet/minecraft/client/util/math/MatrixStack;IIIIIIIZF)V
-
drawSkin
- Mappings:
Namespace Name Mixin selector official aLeoi$a$e;a(Ldzu;IILaaj;)Vintermediary method_44519Lnet/minecraft/class_7543$class_7544$class_7549;method_44519(Lnet/minecraft/class_4587;IILnet/minecraft/class_2960;)Vnamed drawSkinLnet/minecraft/client/gui/screen/abusereport/ChatSelectionScreen$SelectionListWidget$SenderEntry;drawSkin(Lnet/minecraft/client/util/math/MatrixStack;IILnet/minecraft/util/Identifier;)V
-
getSkinTextureId
- Mappings:
Namespace Name Mixin selector official aLeoi$a$e;a(Lcom/mojang/authlib/GameProfile;)Laaj;intermediary method_44518Lnet/minecraft/class_7543$class_7544$class_7549;method_44518(Lcom/mojang/authlib/GameProfile;)Lnet/minecraft/class_2960;named getSkinTextureIdLnet/minecraft/client/gui/screen/abusereport/ChatSelectionScreen$SelectionListWidget$SenderEntry;getSkinTextureId(Lcom/mojang/authlib/GameProfile;)Lnet/minecraft/util/Identifier;
-