Package net.minecraft.client.gui.hud
Class PlayerListHud
java.lang.Object
net.minecraft.client.gui.DrawableHelper
net.minecraft.client.gui.hud.PlayerListHud
- Mappings:
Namespace Name official awhintermediary net/minecraft/class_2308named net/minecraft/client/gui/hud/PlayerListHud
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static class -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final MinecraftClientprivate static final Ordering<PlayerListEntry>private Textprivate Textprivate final InGameHudprivate longprivate booleanFields inherited from class net.minecraft.client.gui.DrawableHelper
GUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTURE, zOffset -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()getPlayerName(PlayerListEntry playerEntry) voidrender(int width, Scoreboard scoreboard, ScoreboardObjective playerListScoreboardObjective) protected voidrenderLatencyIcon(int int2, int int3, int y, PlayerListEntry playerEntry) private voidrenderScoreboardObjective(ScoreboardObjective objective, int int2, String player, int int3, int int4, PlayerListEntry playerEntry) voidvoidvoidtick(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_10400Lnet/minecraft/class_2308;field_10400:Lcom/google/common/collect/Ordering;named ENTRY_ORDERINGLnet/minecraft/client/gui/hud/PlayerListHud;ENTRY_ORDERING:Lcom/google/common/collect/Ordering;
-
client
- Mappings:
Namespace Name Mixin selector official fLawh;f:Lave;intermediary field_10401Lnet/minecraft/class_2308;field_10401:Lnet/minecraft/class_1600;named clientLnet/minecraft/client/gui/hud/PlayerListHud;client:Lnet/minecraft/client/MinecraftClient;
-
inGameHud
- Mappings:
Namespace Name Mixin selector official gLawh;g:Lavo;intermediary field_10402Lnet/minecraft/class_2308;field_10402:Lnet/minecraft/class_371;named inGameHudLnet/minecraft/client/gui/hud/PlayerListHud;inGameHud:Lnet/minecraft/client/gui/hud/InGameHud;
-
header
- Mappings:
Namespace Name Mixin selector official iLawh;i:Leu;intermediary field_10404Lnet/minecraft/class_2308;field_10404:Lnet/minecraft/class_1982;named headerLnet/minecraft/client/gui/hud/PlayerListHud;header:Lnet/minecraft/text/Text;
-
showTime
private long showTime- Mappings:
Namespace Name Mixin selector official jLawh;j:Jintermediary field_10405Lnet/minecraft/class_2308;field_10405:Jnamed showTimeLnet/minecraft/client/gui/hud/PlayerListHud;showTime:J
-
visible
private boolean visible- Mappings:
Namespace Name Mixin selector official kLawh;k:Zintermediary field_10406Lnet/minecraft/class_2308;field_10406:Znamed visibleLnet/minecraft/client/gui/hud/PlayerListHud;visible:Z
-
-
Constructor Details
-
PlayerListHud
- Mappings:
Namespace Name Mixin selector official <init>Lawh;<init>(Lave;Lavo;)Vintermediary <init>Lnet/minecraft/class_2308;<init>(Lnet/minecraft/class_1600;Lnet/minecraft/class_371;)Vnamed <init>Lnet/minecraft/client/gui/hud/PlayerListHud;<init>(Lnet/minecraft/client/MinecraftClient;Lnet/minecraft/client/gui/hud/InGameHud;)V
-
-
Method Details
-
getPlayerName
- Mappings:
Namespace Name Mixin selector official aLawh;a(Lbdc;)Ljava/lang/String;intermediary method_9523Lnet/minecraft/class_2308;method_9523(Lnet/minecraft/class_2346;)Ljava/lang/String;named getPlayerNameLnet/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 aLawh;a(Z)Vintermediary method_9525Lnet/minecraft/class_2308;method_9525(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_9521Lnet/minecraft/class_2308;method_9521(ILnet/minecraft/class_1471;Lnet/minecraft/class_1467;)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_9520Lnet/minecraft/class_2308;method_9520(IIILnet/minecraft/class_2346;)Vnamed renderLatencyIconLnet/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 aLawh;a(Lauk;ILjava/lang/String;IILbdc;)Vintermediary method_9522Lnet/minecraft/class_2308;method_9522(Lnet/minecraft/class_1467;ILjava/lang/String;IILnet/minecraft/class_2346;)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_9526Lnet/minecraft/class_2308;method_9526(Lnet/minecraft/class_1982;)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_9519Lnet/minecraft/class_2308;method_9519()Vnamed clearLnet/minecraft/client/gui/hud/PlayerListHud;clear()V
-