Package net.minecraft.client.gui.hud
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 awhintermediary net/minecraft/class_711named net/minecraft/client/gui/hud/PlayerListHud
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static classPlayerListHud.EntryOrderComparator -
Field Summary
Fields Modifier and Type Field Description private static Ordering<PlayerListEntry>ENTRY_ORDERINGprivate MinecraftClientfield_2985private InGameHudfield_2986private Textfield_2987private Textfield_2988private longshowTimeprivate booleanvisibleFields inherited from class net.minecraft.client.gui.DrawableHelper
BACKGROUND_TEXTURE, GUI_ICONS_TEXTURE, STATS_ICON_TEXTURE, zOffset -
Constructor Summary
Constructors Constructor Description PlayerListHud(MinecraftClient minecraftClient, InGameHud inGameHud) -
Method Summary
Modifier and Type Method Description voidclear()Stringmethod_2623(PlayerListEntry playerListEntry)voidrender(int width, Scoreboard scoreboard, ScoreboardObjective playerListScoreboardObjective)protected voidrenderLatencyIcon(int int2, int int3, int y, PlayerListEntry playerEntry)private voidrenderScoreboardObjective(ScoreboardObjective scoreboardObjective, int int2, String string, int int3, int int4, PlayerListEntry playerListEntry)voidsetFooter(Text footer)voidsetHeader(Text header)voidtick(boolean visible)Methods inherited from class net.minecraft.client.gui.DrawableHelper
drawCenteredString, drawHorizontalLine, drawSprite, drawTexture, drawTexture, drawTexture, drawTexture, drawVerticalLine, drawWithShadow, fill, fillGradient
-
Field Details
-
ENTRY_ORDERING
- Mappings:
Namespace Name Mixin selector official aLawh;a:Lcom/google/common/collect/Ordering;intermediary field_2984Lnet/minecraft/class_711;field_2984:Lcom/google/common/collect/Ordering;named ENTRY_ORDERINGLnet/minecraft/client/gui/hud/PlayerListHud;ENTRY_ORDERING:Lcom/google/common/collect/Ordering;
-
field_2985
- Mappings:
Namespace Name Mixin selector official fLawh;f:Lave;intermediary field_2985Lnet/minecraft/class_711;field_2985:Lnet/minecraft/class_669;named field_2985Lnet/minecraft/client/gui/hud/PlayerListHud;field_2985:Lnet/minecraft/client/MinecraftClient;
-
field_2986
- Mappings:
Namespace Name Mixin selector official gLawh;g:Lavo;intermediary field_2986Lnet/minecraft/class_711;field_2986:Lnet/minecraft/class_680;named field_2986Lnet/minecraft/client/gui/hud/PlayerListHud;field_2986:Lnet/minecraft/client/gui/hud/InGameHud;
-
field_2987
- Mappings:
Namespace Name Mixin selector official hLawh;h:Leu;intermediary field_2987Lnet/minecraft/class_711;field_2987:Lnet/minecraft/class_1444;named field_2987Lnet/minecraft/client/gui/hud/PlayerListHud;field_2987:Lnet/minecraft/text/Text;
-
field_2988
- Mappings:
Namespace Name Mixin selector official iLawh;i:Leu;intermediary field_2988Lnet/minecraft/class_711;field_2988:Lnet/minecraft/class_1444;named field_2988Lnet/minecraft/client/gui/hud/PlayerListHud;field_2988:Lnet/minecraft/text/Text;
-
showTime
private long showTime- Mappings:
Namespace Name Mixin selector official jLawh;j:Jintermediary field_2989Lnet/minecraft/class_711;field_2989:Jnamed showTimeLnet/minecraft/client/gui/hud/PlayerListHud;showTime:J
-
visible
private boolean visible- Mappings:
Namespace Name Mixin selector official kLawh;k:Zintermediary field_2990Lnet/minecraft/class_711;field_2990:Znamed visibleLnet/minecraft/client/gui/hud/PlayerListHud;visible:Z
-
-
Constructor Details
-
PlayerListHud
-
-
Method Details
-
method_2623
- Mappings:
Namespace Name Mixin selector official aLawh;a(Lbdc;)Ljava/lang/String;intermediary method_2623Lnet/minecraft/class_711;method_2623(Lnet/minecraft/class_908;)Ljava/lang/String;named method_2623Lnet/minecraft/client/gui/hud/PlayerListHud;method_2623(Lnet/minecraft/client/network/PlayerListEntry;)Ljava/lang/String;
-
tick
public void tick(boolean visible)- Mappings:
Namespace Name Mixin selector official aLawh;a(Z)Vintermediary method_2625Lnet/minecraft/class_711;method_2625(Z)Vnamed tickLnet/minecraft/client/gui/hud/PlayerListHud;tick(Z)V
-
render
public void render(int width, Scoreboard scoreboard, ScoreboardObjective playerListScoreboardObjective)- Mappings:
Namespace Name Mixin selector official aLawh;a(ILauo;Lauk;)Vintermediary method_2621Lnet/minecraft/class_711;method_2621(ILnet/minecraft/class_653;Lnet/minecraft/class_650;)Vnamed renderLnet/minecraft/client/gui/hud/PlayerListHud;render(ILnet/minecraft/scoreboard/Scoreboard;Lnet/minecraft/scoreboard/ScoreboardObjective;)V
-
renderLatencyIcon
- Mappings:
Namespace Name Mixin selector official aLawh;a(IIILbdc;)Vintermediary method_2620Lnet/minecraft/class_711;method_2620(IIILnet/minecraft/class_908;)Vnamed renderLatencyIconLnet/minecraft/client/gui/hud/PlayerListHud;renderLatencyIcon(IIILnet/minecraft/client/network/PlayerListEntry;)V
-
renderScoreboardObjective
private void renderScoreboardObjective(ScoreboardObjective scoreboardObjective, int int2, String string, int int3, int int4, PlayerListEntry playerListEntry)- Mappings:
Namespace Name Mixin selector official aLawh;a(Lauk;ILjava/lang/String;IILbdc;)Vintermediary method_2622Lnet/minecraft/class_711;method_2622(Lnet/minecraft/class_650;ILjava/lang/String;IILnet/minecraft/class_908;)Vnamed renderScoreboardObjectiveLnet/minecraft/client/gui/hud/PlayerListHud;renderScoreboardObjective(Lnet/minecraft/scoreboard/ScoreboardObjective;ILjava/lang/String;IILnet/minecraft/client/network/PlayerListEntry;)V
-
setHeader
- Mappings:
Namespace Name Mixin selector official bLawh;b(Leu;)Vintermediary method_2626Lnet/minecraft/class_711;method_2626(Lnet/minecraft/class_1444;)Vnamed setHeaderLnet/minecraft/client/gui/hud/PlayerListHud;setHeader(Lnet/minecraft/text/Text;)V
-
clear
public void clear()- Mappings:
Namespace Name Mixin selector official aLawh;a()Vintermediary method_2619Lnet/minecraft/class_711;method_2619()Vnamed clearLnet/minecraft/client/gui/hud/PlayerListHud;clear()V
-