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

    • PLAYER_SKIN_SIZE

      private static final int PLAYER_SKIN_SIZE
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named PLAYER_SKIN_SIZE Lnet/minecraft/client/gui/screen/report/ChatSelectionScreen$SelectionListWidget$SenderEntry;PLAYER_SKIN_SIZE:I
      intermediary field_39607 Lnet/minecraft/class_7543$class_7544$class_7549;field_39607:I
      official b Lfrf$a$e;b:I
    • field_49545

      private static final int field_49545
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_49545 Lnet/minecraft/client/gui/screen/report/ChatSelectionScreen$SelectionListWidget$SenderEntry;field_49545:I
      intermediary field_49545 Lnet/minecraft/class_7543$class_7544$class_7549;field_49545:I
      official c Lfrf$a$e;c:I
    • headingText

      private final Text headingText
      Mappings:
      Namespace Name Mixin selector
      named headingText Lnet/minecraft/client/gui/screen/report/ChatSelectionScreen$SelectionListWidget$SenderEntry;headingText:Lnet/minecraft/text/Text;
      intermediary field_39608 Lnet/minecraft/class_7543$class_7544$class_7549;field_39608:Lnet/minecraft/class_2561;
      official d Lfrf$a$e;d:Lxp;
    • skinTexturesSupplier

      private final Supplier<SkinTextures> skinTexturesSupplier
      Mappings:
      Namespace Name Mixin selector
      named skinTexturesSupplier Lnet/minecraft/client/gui/screen/report/ChatSelectionScreen$SelectionListWidget$SenderEntry;skinTexturesSupplier:Ljava/util/function/Supplier;
      intermediary field_39609 Lnet/minecraft/class_7543$class_7544$class_7549;field_39609:Ljava/util/function/Supplier;
      official e Lfrf$a$e;e:Ljava/util/function/Supplier;
    • fromReportedPlayer

      private final boolean fromReportedPlayer
      Mappings:
      Namespace Name Mixin selector
      named fromReportedPlayer Lnet/minecraft/client/gui/screen/report/ChatSelectionScreen$SelectionListWidget$SenderEntry;fromReportedPlayer:Z
      intermediary field_39610 Lnet/minecraft/class_7543$class_7544$class_7549;field_39610:Z
      official f Lfrf$a$e;f:Z
  • Constructor Details

    • SenderEntry

      public SenderEntry(com.mojang.authlib.GameProfile gameProfile, Text headingText, boolean fromReportedPlayer)
      Mappings:
      Namespace Name Mixin selector
      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
      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
      official <init> Lfrf$a$e;<init>(Lfrf$a;Lcom/mojang/authlib/GameProfile;Lxp;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 class EntryListWidget.Entry<ChatSelectionScreen.SelectionListWidget.Entry>
      Parameters:
      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
      named render Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;render(Lnet/minecraft/client/gui/DrawContext;IIIIIIIZF)V
      intermediary method_25343 Lnet/minecraft/class_350$class_351;method_25343(Lnet/minecraft/class_332;IIIIIIIZF)V
      official a Lfhb$a;a(Lfgt;IIIIIIIZF)V