Class SocialInteractionsPlayerListEntry

All Implemented Interfaces:
Element, Navigable, ParentElement

@Environment(CLIENT) public class SocialInteractionsPlayerListEntry extends ElementListWidget.Entry<SocialInteractionsPlayerListEntry>
Mappings:
Namespace Name
official fhi
intermediary net/minecraft/class_5519
named net/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListEntry
  • Field Details

    • DRAFT_REPORT_ICON_TEXTURE

      private static final Identifier DRAFT_REPORT_ICON_TEXTURE
      Mappings:
      Namespace Name Mixin selector
      official f Lfhi;f:Lahg;
      intermediary field_45560 Lnet/minecraft/class_5519;field_45560:Lnet/minecraft/class_2960;
      named DRAFT_REPORT_ICON_TEXTURE Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListEntry;DRAFT_REPORT_ICON_TEXTURE:Lnet/minecraft/util/Identifier;
    • field_32418

      private static final int field_32418
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official g Lfhi;g:I
      intermediary field_32418 Lnet/minecraft/class_5519;field_32418:I
      named field_32418 Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListEntry;field_32418:I
    • REPORT_BUTTON_TEXTURES

      private static final ButtonTextures REPORT_BUTTON_TEXTURES
      Mappings:
      Namespace Name Mixin selector
      official h Lfhi;h:Leyt;
      intermediary field_45561 Lnet/minecraft/class_5519;field_45561:Lnet/minecraft/class_8666;
      named REPORT_BUTTON_TEXTURES Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListEntry;REPORT_BUTTON_TEXTURES:Lnet/minecraft/client/gui/screen/ButtonTextures;
    • MUTE_BUTTON_TEXTURES

      private static final ButtonTextures MUTE_BUTTON_TEXTURES
      Mappings:
      Namespace Name Mixin selector
      official i Lfhi;i:Leyt;
      intermediary field_45562 Lnet/minecraft/class_5519;field_45562:Lnet/minecraft/class_8666;
      named MUTE_BUTTON_TEXTURES Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListEntry;MUTE_BUTTON_TEXTURES:Lnet/minecraft/client/gui/screen/ButtonTextures;
    • UNMUTE_BUTTON_TEXTURES

      private static final ButtonTextures UNMUTE_BUTTON_TEXTURES
      Mappings:
      Namespace Name Mixin selector
      official j Lfhi;j:Leyt;
      intermediary field_45563 Lnet/minecraft/class_5519;field_45563:Lnet/minecraft/class_8666;
      named UNMUTE_BUTTON_TEXTURES Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListEntry;UNMUTE_BUTTON_TEXTURES:Lnet/minecraft/client/gui/screen/ButtonTextures;
    • HIDDEN_TEXT

      private static final Text HIDDEN_TEXT
      Mappings:
      Namespace Name Mixin selector
      official z Lfhi;z:Lvf;
      intermediary field_26905 Lnet/minecraft/class_5519;field_26905:Lnet/minecraft/class_2561;
      named HIDDEN_TEXT Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListEntry;HIDDEN_TEXT:Lnet/minecraft/text/Text;
    • BLOCKED_TEXT

      private static final Text BLOCKED_TEXT
      Mappings:
      Namespace Name Mixin selector
      official A Lfhi;A:Lvf;
      intermediary field_26906 Lnet/minecraft/class_5519;field_26906:Lnet/minecraft/class_2561;
      named BLOCKED_TEXT Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListEntry;BLOCKED_TEXT:Lnet/minecraft/text/Text;
    • OFFLINE_TEXT

      private static final Text OFFLINE_TEXT
      Mappings:
      Namespace Name Mixin selector
      official B Lfhi;B:Lvf;
      intermediary field_26907 Lnet/minecraft/class_5519;field_26907:Lnet/minecraft/class_2561;
      named OFFLINE_TEXT Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListEntry;OFFLINE_TEXT:Lnet/minecraft/text/Text;
    • HIDDEN_OFFLINE_TEXT

      private static final Text HIDDEN_OFFLINE_TEXT
      Mappings:
      Namespace Name Mixin selector
      official C Lfhi;C:Lvf;
      intermediary field_26908 Lnet/minecraft/class_5519;field_26908:Lnet/minecraft/class_2561;
      named HIDDEN_OFFLINE_TEXT Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListEntry;HIDDEN_OFFLINE_TEXT:Lnet/minecraft/text/Text;
    • BLOCKED_OFFLINE_TEXT

      private static final Text BLOCKED_OFFLINE_TEXT
      Mappings:
      Namespace Name Mixin selector
      official D Lfhi;D:Lvf;
      intermediary field_26909 Lnet/minecraft/class_5519;field_26909:Lnet/minecraft/class_2561;
      named BLOCKED_OFFLINE_TEXT Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListEntry;BLOCKED_OFFLINE_TEXT:Lnet/minecraft/text/Text;
    • REPORT_DISABLED_TEXT

      private static final Text REPORT_DISABLED_TEXT
      Mappings:
      Namespace Name Mixin selector
      official E Lfhi;E:Lvf;
      intermediary field_39736 Lnet/minecraft/class_5519;field_39736:Lnet/minecraft/class_2561;
      named REPORT_DISABLED_TEXT Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListEntry;REPORT_DISABLED_TEXT:Lnet/minecraft/text/Text;
    • hideText

      private static final Text hideText
      Mappings:
      Namespace Name Mixin selector
      official F Lfhi;F:Lvf;
      intermediary field_33837 Lnet/minecraft/class_5519;field_33837:Lnet/minecraft/class_2561;
      named hideText Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListEntry;hideText:Lnet/minecraft/text/Text;
    • showText

      private static final Text showText
      Mappings:
      Namespace Name Mixin selector
      official G Lfhi;G:Lvf;
      intermediary field_33838 Lnet/minecraft/class_5519;field_33838:Lnet/minecraft/class_2561;
      named showText Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListEntry;showText:Lnet/minecraft/text/Text;
    • reportText

      private static final Text reportText
      Mappings:
      Namespace Name Mixin selector
      official H Lfhi;H:Lvf;
      intermediary field_39623 Lnet/minecraft/class_5519;field_39623:Lnet/minecraft/class_2561;
      named reportText Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListEntry;reportText:Lnet/minecraft/text/Text;
    • field_32420

      private static final int field_32420
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official I Lfhi;I:I
      intermediary field_32420 Lnet/minecraft/class_5519;field_32420:I
      named field_32420 Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListEntry;field_32420:I
    • field_32421

      private static final int field_32421
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official J Lfhi;J:I
      intermediary field_32421 Lnet/minecraft/class_5519;field_32421:I
      named field_32421 Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListEntry;field_32421:I
    • BLACK_COLOR

      public static final int BLACK_COLOR
      Mappings:
      Namespace Name Mixin selector
      official a Lfhi;a:I
      intermediary field_26850 Lnet/minecraft/class_5519;field_26850:I
      named BLACK_COLOR Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListEntry;BLACK_COLOR:I
    • field_32422

      private static final int field_32422
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official K Lfhi;K:I
      intermediary field_32422 Lnet/minecraft/class_5519;field_32422:I
      named field_32422 Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListEntry;field_32422:I
    • GRAY_COLOR

      public static final int GRAY_COLOR
      Mappings:
      Namespace Name Mixin selector
      official b Lfhi;b:I
      intermediary field_26851 Lnet/minecraft/class_5519;field_26851:I
      named GRAY_COLOR Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListEntry;GRAY_COLOR:I
    • DARK_GRAY_COLOR

      public static final int DARK_GRAY_COLOR
      Mappings:
      Namespace Name Mixin selector
      official c Lfhi;c:I
      intermediary field_26852 Lnet/minecraft/class_5519;field_26852:I
      named DARK_GRAY_COLOR Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListEntry;DARK_GRAY_COLOR:I
    • WHITE_COLOR

      public static final int WHITE_COLOR
      Mappings:
      Namespace Name Mixin selector
      official d Lfhi;d:I
      intermediary field_26853 Lnet/minecraft/class_5519;field_26853:I
      named WHITE_COLOR Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListEntry;WHITE_COLOR:I
    • LIGHT_GRAY_COLOR

      public static final int LIGHT_GRAY_COLOR
      Mappings:
      Namespace Name Mixin selector
      official e Lfhi;e:I
      intermediary field_26903 Lnet/minecraft/class_5519;field_26903:I
      named LIGHT_GRAY_COLOR Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListEntry;LIGHT_GRAY_COLOR:I
    • client

      private final MinecraftClient client
      Mappings:
      Namespace Name Mixin selector
      official k Lfhi;k:Levi;
      intermediary field_26854 Lnet/minecraft/class_5519;field_26854:Lnet/minecraft/class_310;
      named client Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListEntry;client:Lnet/minecraft/client/MinecraftClient;
    • buttons

      private final List<ClickableWidget> buttons
      Mappings:
      Namespace Name Mixin selector
      official l Lfhi;l:Ljava/util/List;
      intermediary field_26855 Lnet/minecraft/class_5519;field_26855:Ljava/util/List;
      named buttons Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListEntry;buttons:Ljava/util/List;
    • uuid

      private final UUID uuid
      Mappings:
      Namespace Name Mixin selector
      official m Lfhi;m:Ljava/util/UUID;
      intermediary field_26856 Lnet/minecraft/class_5519;field_26856:Ljava/util/UUID;
      named uuid Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListEntry;uuid:Ljava/util/UUID;
    • name

      private final String name
      Mappings:
      Namespace Name Mixin selector
      official n Lfhi;n:Ljava/lang/String;
      intermediary field_26857 Lnet/minecraft/class_5519;field_26857:Ljava/lang/String;
      named name Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListEntry;name:Ljava/lang/String;
    • skinSupplier

      private final Supplier<SkinTextures> skinSupplier
      Mappings:
      Namespace Name Mixin selector
      official o Lfhi;o:Ljava/util/function/Supplier;
      intermediary field_26904 Lnet/minecraft/class_5519;field_26904:Ljava/util/function/Supplier;
      named skinSupplier Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListEntry;skinSupplier:Ljava/util/function/Supplier;
    • offline

      private boolean offline
      Mappings:
      Namespace Name Mixin selector
      official p Lfhi;p:Z
      intermediary field_26859 Lnet/minecraft/class_5519;field_26859:Z
      named offline Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListEntry;offline:Z
    • sentMessage

      private boolean sentMessage
      Mappings:
      Namespace Name Mixin selector
      official q Lfhi;q:Z
      intermediary field_39790 Lnet/minecraft/class_5519;field_39790:Z
      named sentMessage Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListEntry;sentMessage:Z
    • canSendReports

      private final boolean canSendReports
      Mappings:
      Namespace Name Mixin selector
      official r Lfhi;r:Z
      intermediary field_39791 Lnet/minecraft/class_5519;field_39791:Z
      named canSendReports Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListEntry;canSendReports:Z
    • hasDraftReport

      private final boolean hasDraftReport
      Mappings:
      Namespace Name Mixin selector
      official t Lfhi;t:Z
      intermediary field_40796 Lnet/minecraft/class_5519;field_40796:Z
      named hasDraftReport Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListEntry;hasDraftReport:Z
    • reportable

      private final boolean reportable
      Mappings:
      Namespace Name Mixin selector
      official u Lfhi;u:Z
      intermediary field_39937 Lnet/minecraft/class_5519;field_39937:Z
      named reportable Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListEntry;reportable:Z
    • hideButton

      @Nullable private @Nullable ButtonWidget hideButton
      Mappings:
      Namespace Name Mixin selector
      official v Lfhi;v:Lexg;
      intermediary field_26860 Lnet/minecraft/class_5519;field_26860:Lnet/minecraft/class_4185;
      named hideButton Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListEntry;hideButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
    • showButton

      @Nullable private @Nullable ButtonWidget showButton
      Mappings:
      Namespace Name Mixin selector
      official w Lfhi;w:Lexg;
      intermediary field_26861 Lnet/minecraft/class_5519;field_26861:Lnet/minecraft/class_4185;
      named showButton Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListEntry;showButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
    • reportButton

      @Nullable private @Nullable ButtonWidget reportButton
      Mappings:
      Namespace Name Mixin selector
      official x Lfhi;x:Lexg;
      intermediary field_39622 Lnet/minecraft/class_5519;field_39622:Lnet/minecraft/class_4185;
      named reportButton Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListEntry;reportButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
    • timeCounter

      private float timeCounter
      Mappings:
      Namespace Name Mixin selector
      official y Lfhi;y:F
      intermediary field_26864 Lnet/minecraft/class_5519;field_26864:F
      named timeCounter Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListEntry;timeCounter:F
  • Constructor Details

    • SocialInteractionsPlayerListEntry

      public SocialInteractionsPlayerListEntry(MinecraftClient client, SocialInteractionsScreen parent, UUID uuid, String name, Supplier<SkinTextures> skinTexture, boolean reportable)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lfhi;<init>(Levi;Lfhl;Ljava/util/UUID;Ljava/lang/String;Ljava/util/function/Supplier;Z)V
      intermediary <init> Lnet/minecraft/class_5519;<init>(Lnet/minecraft/class_310;Lnet/minecraft/class_5522;Ljava/util/UUID;Ljava/lang/String;Ljava/util/function/Supplier;Z)V
      named <init> Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListEntry;<init>(Lnet/minecraft/client/MinecraftClient;Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;Ljava/util/UUID;Ljava/lang/String;Ljava/util/function/Supplier;Z)V
  • Method Details

    • getReportButtonTooltip

      private Tooltip getReportButtonTooltip()
      Mappings:
      Namespace Name Mixin selector
      official k Lfhi;k()Leyr;
      intermediary method_47634 Lnet/minecraft/class_5519;method_47634()Lnet/minecraft/class_7919;
      named getReportButtonTooltip Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListEntry;getReportButtonTooltip()Lnet/minecraft/client/gui/tooltip/Tooltip;
    • 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<SocialInteractionsPlayerListEntry>
      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
      official a Lexb$a;a(Lewu;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
    • children

      public List<? extends Element> children()
      Gets a list of all child GUI elements.
      Mappings:
      Namespace Name Mixin selector
      official l Leza;l()Ljava/util/List;
      intermediary method_25396 Lnet/minecraft/class_4069;method_25396()Ljava/util/List;
      named children Lnet/minecraft/client/gui/ParentElement;children()Ljava/util/List;
    • selectableChildren

      public List<? extends Selectable> selectableChildren()
      Specified by:
      selectableChildren in class ElementListWidget.Entry<SocialInteractionsPlayerListEntry>
      Mappings:
      Namespace Name Mixin selector
      official a Lexm$a;a()Ljava/util/List;
      intermediary method_37025 Lnet/minecraft/class_4265$class_4266;method_37025()Ljava/util/List;
      named selectableChildren Lnet/minecraft/client/gui/widget/ElementListWidget$Entry;selectableChildren()Ljava/util/List;
    • getName

      public String getName()
      Mappings:
      Namespace Name Mixin selector
      official b Lfhi;b()Ljava/lang/String;
      intermediary method_31330 Lnet/minecraft/class_5519;method_31330()Ljava/lang/String;
      named getName Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListEntry;getName()Ljava/lang/String;
    • getUuid

      public UUID getUuid()
      Mappings:
      Namespace Name Mixin selector
      official c Lfhi;c()Ljava/util/UUID;
      intermediary method_31334 Lnet/minecraft/class_5519;method_31334()Ljava/util/UUID;
      named getUuid Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListEntry;getUuid()Ljava/util/UUID;
    • getSkinSupplier

      public Supplier<SkinTextures> getSkinSupplier()
      Mappings:
      Namespace Name Mixin selector
      official d Lfhi;d()Ljava/util/function/Supplier;
      intermediary method_53594 Lnet/minecraft/class_5519;method_53594()Ljava/util/function/Supplier;
      named getSkinSupplier Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListEntry;getSkinSupplier()Ljava/util/function/Supplier;
    • setOffline

      public void setOffline(boolean offline)
      Mappings:
      Namespace Name Mixin selector
      official c Lfhi;c(Z)V
      intermediary method_31335 Lnet/minecraft/class_5519;method_31335(Z)V
      named setOffline Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListEntry;setOffline(Z)V
    • isOffline

      public boolean isOffline()
      Mappings:
      Namespace Name Mixin selector
      official e Lfhi;e()Z
      intermediary method_44754 Lnet/minecraft/class_5519;method_44754()Z
      named isOffline Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListEntry;isOffline()Z
    • setSentMessage

      public void setSentMessage(boolean sentMessage)
      Mappings:
      Namespace Name Mixin selector
      official d Lfhi;d(Z)V
      intermediary method_44753 Lnet/minecraft/class_5519;method_44753(Z)V
      named setSentMessage Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListEntry;setSentMessage(Z)V
    • hasSentMessage

      public boolean hasSentMessage()
      Mappings:
      Namespace Name Mixin selector
      official i Lfhi;i()Z
      intermediary method_44756 Lnet/minecraft/class_5519;method_44756()Z
      named hasSentMessage Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListEntry;hasSentMessage()Z
    • isReportable

      public boolean isReportable()
      Mappings:
      Namespace Name Mixin selector
      official j Lfhi;j()Z
      intermediary method_53595 Lnet/minecraft/class_5519;method_53595()Z
      named isReportable Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListEntry;isReportable()Z
    • onButtonClick

      private void onButtonClick(boolean showButtonVisible, Text chatMessage)
      Mappings:
      Namespace Name Mixin selector
      official a Lfhi;a(ZLvf;)V
      intermediary method_31329 Lnet/minecraft/class_5519;method_31329(ZLnet/minecraft/class_2561;)V
      named onButtonClick Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListEntry;onButtonClick(ZLnet/minecraft/text/Text;)V
    • setShowButtonVisible

      private void setShowButtonVisible(boolean showButtonVisible)
      Mappings:
      Namespace Name Mixin selector
      official e Lfhi;e(Z)V
      intermediary method_47905 Lnet/minecraft/class_5519;method_47905(Z)V
      named setShowButtonVisible Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListEntry;setShowButtonVisible(Z)V
    • getNarrationMessage

      MutableText getNarrationMessage(MutableText text)
      Mappings:
      Namespace Name Mixin selector
      official a Lfhi;a(Lvt;)Lvt;
      intermediary method_31389 Lnet/minecraft/class_5519;method_31389(Lnet/minecraft/class_5250;)Lnet/minecraft/class_5250;
      named getNarrationMessage Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListEntry;getNarrationMessage(Lnet/minecraft/text/MutableText;)Lnet/minecraft/text/MutableText;
    • getStatusText

      private Text getStatusText()
      Mappings:
      Namespace Name Mixin selector
      official m Lfhi;m()Lvf;
      intermediary method_31390 Lnet/minecraft/class_5519;method_31390()Lnet/minecraft/class_2561;
      named getStatusText Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListEntry;getStatusText()Lnet/minecraft/text/Text;