类 PlayerListHud


  • @Environment(CLIENT)
    public class PlayerListHud
    extends DrawableHelper
    Mappings:
    Namespace Name
    official dwl
    intermediary net/minecraft/class_355
    named net/minecraft/client/gui/hud/PlayerListHud
    • 字段详细资料

      • ENTRY_ORDERING

        private static final Ordering<PlayerListEntry> ENTRY_ORDERING
        Mappings:
        Namespace Name Mixin selector
        official m Ldwl;m:Lcom/google/common/collect/Ordering;
        intermediary field_2156 Lnet/minecraft/class_355;field_2156:Lcom/google/common/collect/Ordering;
        named ENTRY_ORDERING Lnet/minecraft/client/gui/hud/PlayerListHud;ENTRY_ORDERING:Lcom/google/common/collect/Ordering;
      • field_32205

        public static final int field_32205
        另请参阅:
        常量字段值
        Mappings:
        Namespace Name Mixin selector
        official a Ldwl;a:I
        intermediary field_32205 Lnet/minecraft/class_355;field_32205:I
        named field_32205 Lnet/minecraft/client/gui/hud/PlayerListHud;field_32205:I
      • field_32206

        public static final int field_32206
        另请参阅:
        常量字段值
        Mappings:
        Namespace Name Mixin selector
        official b Ldwl;b:I
        intermediary field_32206 Lnet/minecraft/class_355;field_32206:I
        named field_32206 Lnet/minecraft/client/gui/hud/PlayerListHud;field_32206:I
      • field_32207

        public static final int field_32207
        另请参阅:
        常量字段值
        Mappings:
        Namespace Name Mixin selector
        official c Ldwl;c:I
        intermediary field_32207 Lnet/minecraft/class_355;field_32207:I
        named field_32207 Lnet/minecraft/client/gui/hud/PlayerListHud;field_32207:I
      • field_32208

        public static final int field_32208
        另请参阅:
        常量字段值
        Mappings:
        Namespace Name Mixin selector
        official d Ldwl;d:I
        intermediary field_32208 Lnet/minecraft/class_355;field_32208:I
        named field_32208 Lnet/minecraft/client/gui/hud/PlayerListHud;field_32208:I
      • field_32209

        public static final int field_32209
        另请参阅:
        常量字段值
        Mappings:
        Namespace Name Mixin selector
        official e Ldwl;e:I
        intermediary field_32209 Lnet/minecraft/class_355;field_32209:I
        named field_32209 Lnet/minecraft/client/gui/hud/PlayerListHud;field_32209:I
      • field_32210

        public static final int field_32210
        另请参阅:
        常量字段值
        Mappings:
        Namespace Name Mixin selector
        official i Ldwl;i:I
        intermediary field_32210 Lnet/minecraft/class_355;field_32210:I
        named field_32210 Lnet/minecraft/client/gui/hud/PlayerListHud;field_32210:I
      • field_32211

        public static final int field_32211
        另请参阅:
        常量字段值
        Mappings:
        Namespace Name Mixin selector
        official j Ldwl;j:I
        intermediary field_32211 Lnet/minecraft/class_355;field_32211:I
        named field_32211 Lnet/minecraft/client/gui/hud/PlayerListHud;field_32211:I
      • field_32212

        public static final int field_32212
        另请参阅:
        常量字段值
        Mappings:
        Namespace Name Mixin selector
        official k Ldwl;k:I
        intermediary field_32212 Lnet/minecraft/class_355;field_32212:I
        named field_32212 Lnet/minecraft/client/gui/hud/PlayerListHud;field_32212:I
      • field_32213

        public static final int field_32213
        另请参阅:
        常量字段值
        Mappings:
        Namespace Name Mixin selector
        official l Ldwl;l:I
        intermediary field_32213 Lnet/minecraft/class_355;field_32213:I
        named field_32213 Lnet/minecraft/client/gui/hud/PlayerListHud;field_32213:I
      • client

        private final MinecraftClient client
        Mappings:
        Namespace Name Mixin selector
        official n Ldwl;n:Ldum;
        intermediary field_2155 Lnet/minecraft/class_355;field_2155:Lnet/minecraft/class_310;
        named client Lnet/minecraft/client/gui/hud/PlayerListHud;client:Lnet/minecraft/client/MinecraftClient;
      • inGameHud

        private final InGameHud inGameHud
        Mappings:
        Namespace Name Mixin selector
        official o Ldwl;o:Ldvi;
        intermediary field_2157 Lnet/minecraft/class_355;field_2157:Lnet/minecraft/class_329;
        named inGameHud Lnet/minecraft/client/gui/hud/PlayerListHud;inGameHud:Lnet/minecraft/client/gui/hud/InGameHud;
      • footer

        private Text footer
        Mappings:
        Namespace Name Mixin selector
        official p Ldwl;p:Lon;
        intermediary field_2154 Lnet/minecraft/class_355;field_2154:Lnet/minecraft/class_2561;
        named footer Lnet/minecraft/client/gui/hud/PlayerListHud;footer:Lnet/minecraft/text/Text;
      • header

        private Text header
        Mappings:
        Namespace Name Mixin selector
        official q Ldwl;q:Lon;
        intermediary field_2153 Lnet/minecraft/class_355;field_2153:Lnet/minecraft/class_2561;
        named header Lnet/minecraft/client/gui/hud/PlayerListHud;header:Lnet/minecraft/text/Text;
      • showTime

        private long showTime
        Mappings:
        Namespace Name Mixin selector
        official r Ldwl;r:J
        intermediary field_2152 Lnet/minecraft/class_355;field_2152:J
        named showTime Lnet/minecraft/client/gui/hud/PlayerListHud;showTime:J
      • visible

        private boolean visible
        Mappings:
        Namespace Name Mixin selector
        official s Ldwl;s:Z
        intermediary field_2158 Lnet/minecraft/class_355;field_2158:Z
        named visible Lnet/minecraft/client/gui/hud/PlayerListHud;visible:Z
    • 构造器详细资料

      • PlayerListHud

        public PlayerListHud​(MinecraftClient client,
                             InGameHud inGameHud)
        Mappings:
        Namespace Name Mixin selector
        official <init> Ldwl;<init>(Ldum;Ldvi;)V
        intermediary <init> Lnet/minecraft/class_355;<init>(Lnet/minecraft/class_310;Lnet/minecraft/class_329;)V
        named <init> Lnet/minecraft/client/gui/hud/PlayerListHud;<init>(Lnet/minecraft/client/MinecraftClient;Lnet/minecraft/client/gui/hud/InGameHud;)V
    • 方法详细资料

      • getPlayerName

        public Text getPlayerName​(PlayerListEntry entry)
        Mappings:
        Namespace Name Mixin selector
        official a Ldwl;a(Leib;)Lon;
        intermediary method_1918 Lnet/minecraft/class_355;method_1918(Lnet/minecraft/class_640;)Lnet/minecraft/class_2561;
        named getPlayerName Lnet/minecraft/client/gui/hud/PlayerListHud;getPlayerName(Lnet/minecraft/client/network/PlayerListEntry;)Lnet/minecraft/text/Text;
      • applyGameModeFormatting

        private Text applyGameModeFormatting​(PlayerListEntry entry,
                                             MutableText name)
        Italicizes the given text if the given player is in spectator mode.
        Mappings:
        Namespace Name Mixin selector
        official a Ldwl;a(Leib;Lot;)Lon;
        intermediary method_27538 Lnet/minecraft/class_355;method_27538(Lnet/minecraft/class_640;Lnet/minecraft/class_5250;)Lnet/minecraft/class_2561;
        named applyGameModeFormatting Lnet/minecraft/client/gui/hud/PlayerListHud;applyGameModeFormatting(Lnet/minecraft/client/network/PlayerListEntry;Lnet/minecraft/text/MutableText;)Lnet/minecraft/text/Text;
      • tick

        public void tick​(boolean visible)
        Mappings:
        Namespace Name Mixin selector
        official a Ldwl;a(Z)V
        intermediary method_1921 Lnet/minecraft/class_355;method_1921(Z)V
        named tick Lnet/minecraft/client/gui/hud/PlayerListHud;tick(Z)V
      • render

        public void render​(MatrixStack matrices,
                           int int2,
                           Scoreboard scoreboard,
                           @Nullable
                           @Nullable ScoreboardObjective objective)
        Mappings:
        Namespace Name Mixin selector
        official a Ldwl;a(Ldpi;ILdmy;Ldmv;)V
        intermediary method_1919 Lnet/minecraft/class_355;method_1919(Lnet/minecraft/class_4587;ILnet/minecraft/class_269;Lnet/minecraft/class_266;)V
        named render Lnet/minecraft/client/gui/hud/PlayerListHud;render(Lnet/minecraft/client/util/math/MatrixStack;ILnet/minecraft/scoreboard/Scoreboard;Lnet/minecraft/scoreboard/ScoreboardObjective;)V
      • renderLatencyIcon

        protected void renderLatencyIcon​(MatrixStack matrices,
                                         int int2,
                                         int int3,
                                         int int4,
                                         PlayerListEntry entry)
        Mappings:
        Namespace Name Mixin selector
        official a Ldwl;a(Ldpi;IIILeib;)V
        intermediary method_1923 Lnet/minecraft/class_355;method_1923(Lnet/minecraft/class_4587;IIILnet/minecraft/class_640;)V
        named renderLatencyIcon Lnet/minecraft/client/gui/hud/PlayerListHud;renderLatencyIcon(Lnet/minecraft/client/util/math/MatrixStack;IIILnet/minecraft/client/network/PlayerListEntry;)V
      • renderScoreboardObjective

        private void renderScoreboardObjective​(ScoreboardObjective objective,
                                               int int2,
                                               String string,
                                               int int3,
                                               int int4,
                                               PlayerListEntry entry,
                                               MatrixStack matrices)
        Mappings:
        Namespace Name Mixin selector
        official a Ldwl;a(Ldmv;ILjava/lang/String;IILeib;Ldpi;)V
        intermediary method_1922 Lnet/minecraft/class_355;method_1922(Lnet/minecraft/class_266;ILjava/lang/String;IILnet/minecraft/class_640;Lnet/minecraft/class_4587;)V
        named renderScoreboardObjective Lnet/minecraft/client/gui/hud/PlayerListHud;renderScoreboardObjective(Lnet/minecraft/scoreboard/ScoreboardObjective;ILjava/lang/String;IILnet/minecraft/client/network/PlayerListEntry;Lnet/minecraft/client/util/math/MatrixStack;)V
      • setFooter

        public void setFooter​(@Nullable
                              @Nullable Text footer)
        Mappings:
        Namespace Name Mixin selector
        official a Ldwl;a(Lon;)V
        intermediary method_1924 Lnet/minecraft/class_355;method_1924(Lnet/minecraft/class_2561;)V
        named setFooter Lnet/minecraft/client/gui/hud/PlayerListHud;setFooter(Lnet/minecraft/text/Text;)V
      • setHeader

        public void setHeader​(@Nullable
                              @Nullable Text header)
        Mappings:
        Namespace Name Mixin selector
        official b Ldwl;b(Lon;)V
        intermediary method_1925 Lnet/minecraft/class_355;method_1925(Lnet/minecraft/class_2561;)V
        named setHeader Lnet/minecraft/client/gui/hud/PlayerListHud;setHeader(Lnet/minecraft/text/Text;)V
      • clear

        public void clear()
        Mappings:
        Namespace Name Mixin selector
        official a Ldwl;a()V
        intermediary method_1920 Lnet/minecraft/class_355;method_1920()V
        named clear Lnet/minecraft/client/gui/hud/PlayerListHud;clear()V