Class PlayerListHud

java.lang.Object
net.minecraft.client.gui.DrawableHelper
net.minecraft.client.gui.hud.PlayerListHud

@Environment(CLIENT) public class PlayerListHud extends DrawableHelper
Mappings:
Namespace Name
official bjq
intermediary net/minecraft/class_2308
named net/minecraft/client/gui/hud/PlayerListHud
  • Field Details

    • ENTRY_ORDERING

      private static final Ordering<PlayerListEntry> ENTRY_ORDERING
      Mappings:
      Namespace Name Mixin selector
      official a Lbjq;a:Lcom/google/common/collect/Ordering;
      intermediary field_10400 Lnet/minecraft/class_2308;field_10400:Lcom/google/common/collect/Ordering;
      named ENTRY_ORDERING Lnet/minecraft/client/gui/hud/PlayerListHud;ENTRY_ORDERING:Lcom/google/common/collect/Ordering;
    • client

      private final MinecraftClient client
      Mappings:
      Namespace Name Mixin selector
      official f Lbjq;f:Lbib;
      intermediary field_10401 Lnet/minecraft/class_2308;field_10401:Lnet/minecraft/class_1600;
      named client Lnet/minecraft/client/gui/hud/PlayerListHud;client:Lnet/minecraft/client/MinecraftClient;
    • inGameHud

      private final InGameHud inGameHud
      Mappings:
      Namespace Name Mixin selector
      official g Lbjq;g:Lbiq;
      intermediary field_10402 Lnet/minecraft/class_2308;field_10402:Lnet/minecraft/class_371;
      named inGameHud Lnet/minecraft/client/gui/hud/PlayerListHud;inGameHud:Lnet/minecraft/client/gui/hud/InGameHud;
    • showTime

      private long showTime
      Mappings:
      Namespace Name Mixin selector
      official j Lbjq;j:J
      intermediary field_10405 Lnet/minecraft/class_2308;field_10405:J
      named showTime Lnet/minecraft/client/gui/hud/PlayerListHud;showTime:J
    • visible

      private boolean visible
      Mappings:
      Namespace Name Mixin selector
      official k Lbjq;k:Z
      intermediary field_10406 Lnet/minecraft/class_2308;field_10406:Z
      named visible Lnet/minecraft/client/gui/hud/PlayerListHud;visible:Z
  • Constructor Details

    • PlayerListHud

      public PlayerListHud(MinecraftClient client, InGameHud inGameHud)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbjq;<init>(Lbib;Lbiq;)V
      intermediary <init> Lnet/minecraft/class_2308;<init>(Lnet/minecraft/class_1600;Lnet/minecraft/class_371;)V
      named <init> Lnet/minecraft/client/gui/hud/PlayerListHud;<init>(Lnet/minecraft/client/MinecraftClient;Lnet/minecraft/client/gui/hud/InGameHud;)V
  • Method Details

    • getPlayerName

      public String getPlayerName(PlayerListEntry playerEntry)
      Mappings:
      Namespace Name Mixin selector
      official a Lbjq;a(Lbsc;)Ljava/lang/String;
      intermediary method_9523 Lnet/minecraft/class_2308;method_9523(Lnet/minecraft/class_2346;)Ljava/lang/String;
      named getPlayerName Lnet/minecraft/client/gui/hud/PlayerListHud;getPlayerName(Lnet/minecraft/client/network/PlayerListEntry;)Ljava/lang/String;
    • tick

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

      public void render(int width, Scoreboard scoreboard, @Nullable ScoreboardObjective playerListScoreboardObjective)
      Mappings:
      Namespace Name Mixin selector
      official a Lbjq;a(ILbhk;Lbhg;)V
      intermediary method_9521 Lnet/minecraft/class_2308;method_9521(ILnet/minecraft/class_1471;Lnet/minecraft/class_1467;)V
      named render Lnet/minecraft/client/gui/hud/PlayerListHud;render(ILnet/minecraft/scoreboard/Scoreboard;Lnet/minecraft/scoreboard/ScoreboardObjective;)V
    • renderLatencyIcon

      protected void renderLatencyIcon(int int2, int int3, int y, PlayerListEntry playerEntry)
      Mappings:
      Namespace Name Mixin selector
      official a Lbjq;a(IIILbsc;)V
      intermediary method_9520 Lnet/minecraft/class_2308;method_9520(IIILnet/minecraft/class_2346;)V
      named renderLatencyIcon Lnet/minecraft/client/gui/hud/PlayerListHud;renderLatencyIcon(IIILnet/minecraft/client/network/PlayerListEntry;)V
    • renderScoreboardObjective

      private void renderScoreboardObjective(ScoreboardObjective objective, int int2, String player, int int3, int int4, PlayerListEntry playerEntry)
      Mappings:
      Namespace Name Mixin selector
      official a Lbjq;a(Lbhg;ILjava/lang/String;IILbsc;)V
      intermediary method_9522 Lnet/minecraft/class_2308;method_9522(Lnet/minecraft/class_1467;ILjava/lang/String;IILnet/minecraft/class_2346;)V
      named renderScoreboardObjective Lnet/minecraft/client/gui/hud/PlayerListHud;renderScoreboardObjective(Lnet/minecraft/scoreboard/ScoreboardObjective;ILjava/lang/String;IILnet/minecraft/client/network/PlayerListEntry;)V
    • setFooter

      public void setFooter(@Nullable Text footer)
      Mappings:
      Namespace Name Mixin selector
      official a Lbjq;a(Lhh;)V
      intermediary method_9524 Lnet/minecraft/class_2308;method_9524(Lnet/minecraft/class_1982;)V
      named setFooter Lnet/minecraft/client/gui/hud/PlayerListHud;setFooter(Lnet/minecraft/text/Text;)V
    • setHeader

      public void setHeader(@Nullable Text header)
      Mappings:
      Namespace Name Mixin selector
      official b Lbjq;b(Lhh;)V
      intermediary method_9526 Lnet/minecraft/class_2308;method_9526(Lnet/minecraft/class_1982;)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 Lbjq;a()V
      intermediary method_9519 Lnet/minecraft/class_2308;method_9519()V
      named clear Lnet/minecraft/client/gui/hud/PlayerListHud;clear()V