Package net.minecraft.client.gui.overlay
Class PlayerTabOverlayGui
java.lang.Object
net.minecraft.client.gui.AbstractGui
net.minecraft.client.gui.overlay.PlayerTabOverlayGui
-
Nested Class Summary
Modifier and TypeClassDescription(package private) static class
-
Field Summary
Modifier and TypeFieldDescriptionprivate ITextComponent
private final IngameGui
private ITextComponent
private final Minecraft
private static final com.google.common.collect.Ordering<NetworkPlayerInfo>
private long
private boolean
Fields inherited from class net.minecraft.client.gui.AbstractGui
BACKGROUND_LOCATION, GUI_ICONS_LOCATION, STATS_ICON_LOCATION
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate ITextComponent
decorateName
(NetworkPlayerInfo p_238524_1_, IFormattableTextComponent p_238524_2_) getNameForDisplay
(NetworkPlayerInfo p_200262_1_) void
render
(MatrixStack p_238523_1_, int p_238523_2_, Scoreboard p_238523_3_, ScoreObjective p_238523_4_) protected void
renderPingIcon
(MatrixStack p_238522_1_, int p_238522_2_, int p_238522_3_, int p_238522_4_, NetworkPlayerInfo p_238522_5_) private void
renderTablistScore
(ScoreObjective p_175247_1_, int p_175247_2_, String p_175247_3_, int p_175247_4_, int p_175247_5_, NetworkPlayerInfo p_175247_6_, MatrixStack p_175247_7_) void
reset()
void
setFooter
(ITextComponent p_175248_1_) void
setHeader
(ITextComponent p_175244_1_) void
setVisible
(boolean p_175246_1_) Methods inherited from class net.minecraft.client.gui.AbstractGui
blit, blit, blit, blit, blit, blitOutlineBlack, drawCenteredString, drawCenteredString, drawString, drawString, fill, fillGradient, fillGradient, getBlitOffset, hLine, setBlitOffset, vLine
-
Field Details
-
PLAYER_ORDERING
-
minecraft
-
gui
-
header
-
visibilityId
private long visibilityId -
visible
private boolean visible
-
-
Constructor Details
-
PlayerTabOverlayGui
-
-
Method Details
-
getNameForDisplay
-
decorateName
private ITextComponent decorateName(NetworkPlayerInfo p_238524_1_, IFormattableTextComponent p_238524_2_) -
setVisible
public void setVisible(boolean p_175246_1_) -
render
public void render(MatrixStack p_238523_1_, int p_238523_2_, Scoreboard p_238523_3_, @Nullable ScoreObjective p_238523_4_) -
renderPingIcon
protected void renderPingIcon(MatrixStack p_238522_1_, int p_238522_2_, int p_238522_3_, int p_238522_4_, NetworkPlayerInfo p_238522_5_) -
renderTablistScore
private void renderTablistScore(ScoreObjective p_175247_1_, int p_175247_2_, String p_175247_3_, int p_175247_4_, int p_175247_5_, NetworkPlayerInfo p_175247_6_, MatrixStack p_175247_7_) -
setHeader
-
reset
public void reset()
-