Class 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 esw$a$e
intermediary net/minecraft/class_7543$class_7544$class_7549
named net/minecraft/client/gui/screen/report/ChatSelectionScreen$SelectionListWidget$SenderEntry
  • Field Details

    • PLAYER_SKIN_SIZE

      private static final int PLAYER_SKIN_SIZE
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official c Lesw$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

      private final Text headingText
      Mappings:
      Namespace Name Mixin selector
      official d Lesw$a$e;d:Lss;
      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;
    • skinTextureId

      private final Identifier skinTextureId
      Mappings:
      Namespace Name Mixin selector
      official e Lesw$a$e;e:Lacf;
      intermediary field_39609 Lnet/minecraft/class_7543$class_7544$class_7549;field_39609:Lnet/minecraft/class_2960;
      named skinTextureId Lnet/minecraft/client/gui/screen/report/ChatSelectionScreen$SelectionListWidget$SenderEntry;skinTextureId:Lnet/minecraft/util/Identifier;
    • fromReportedPlayer

      private final boolean fromReportedPlayer
      Mappings:
      Namespace Name Mixin selector
      official f Lesw$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> Lesw$a$e;<init>(Lesw$a;Lcom/mojang/authlib/GameProfile;Lss;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(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:
      render in class EntryListWidget.Entry<ChatSelectionScreen.SelectionListWidget.Entry>
      Parameters:
      matrices - the matrix stack used for rendering
      index - the index of the entry
      y - the Y coordinate of the entry
      x - the X coordinate of the entry
      entryWidth - the width of the entry
      entryHeight - the height of the entry
      mouseX - the X coordinate of the mouse
      mouseY - the Y coordinate of the mouse
      hovered - whether the mouse is hovering over the entry
      Mappings:
      Namespace Name Mixin selector
      official a Leku$a;a(Leed;IIIIIIIZF)V
      intermediary method_25343 Lnet/minecraft/class_350$class_351;method_25343(Lnet/minecraft/class_4587;IIIIIIIZF)V
      named render Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;render(Lnet/minecraft/client/util/math/MatrixStack;IIIIIIIZF)V
    • drawSkin

      private void drawSkin(MatrixStack matrices, int x, int y, Identifier skinTextureId)
      Mappings:
      Namespace Name Mixin selector
      official a Lesw$a$e;a(Leed;IILacf;)V
      intermediary method_44519 Lnet/minecraft/class_7543$class_7544$class_7549;method_44519(Lnet/minecraft/class_4587;IILnet/minecraft/class_2960;)V
      named drawSkin Lnet/minecraft/client/gui/screen/report/ChatSelectionScreen$SelectionListWidget$SenderEntry;drawSkin(Lnet/minecraft/client/util/math/MatrixStack;IILnet/minecraft/util/Identifier;)V