public class GuiPlayerTabOverlay extends Gui
Modifier and Type | Class and Description |
---|---|
(package private) static class |
GuiPlayerTabOverlay.PlayerComparator |
Modifier and Type | Field and Description |
---|---|
private static com.google.common.collect.Ordering<NetworkPlayerInfo> |
ENTRY_ORDERING |
private ITextComponent |
footer |
private GuiIngame |
guiIngame |
private ITextComponent |
header |
private boolean |
isBeingRendered |
private long |
lastTimeOpened |
private Minecraft |
mc |
ICONS, OPTIONS_BACKGROUND, STAT_ICONS, zLevel
Constructor and Description |
---|
GuiPlayerTabOverlay(Minecraft mcIn,
GuiIngame guiIngameIn) |
Modifier and Type | Method and Description |
---|---|
protected void |
drawPing(int p_175245_1_,
int p_175245_2_,
int p_175245_3_,
NetworkPlayerInfo networkPlayerInfoIn) |
private void |
drawScoreboardValues(ScoreObjective objective,
int p_175247_2_,
java.lang.String name,
int p_175247_4_,
int p_175247_5_,
NetworkPlayerInfo info) |
java.lang.String |
getPlayerName(NetworkPlayerInfo networkPlayerInfoIn) |
void |
renderPlayerlist(int width,
Scoreboard scoreboardIn,
ScoreObjective scoreObjectiveIn) |
void |
resetFooterHeader() |
void |
setFooter(ITextComponent footerIn) |
void |
setHeader(ITextComponent headerIn) |
void |
updatePlayerList(boolean willBeRendered) |
drawCenteredString, drawGradientRect, drawHorizontalLine, drawModalRectWithCustomSizedTexture, drawRect, drawScaledCustomSizeModalRect, drawString, drawTexturedModalRect, drawTexturedModalRect, drawTexturedModalRect, drawVerticalLine
private static final com.google.common.collect.Ordering<NetworkPlayerInfo> ENTRY_ORDERING
private final Minecraft mc
private final GuiIngame guiIngame
private ITextComponent footer
private ITextComponent header
private long lastTimeOpened
private boolean isBeingRendered
public java.lang.String getPlayerName(NetworkPlayerInfo networkPlayerInfoIn)
public void updatePlayerList(boolean willBeRendered)
public void renderPlayerlist(int width, Scoreboard scoreboardIn, @Nullable ScoreObjective scoreObjectiveIn)
protected void drawPing(int p_175245_1_, int p_175245_2_, int p_175245_3_, NetworkPlayerInfo networkPlayerInfoIn)
private void drawScoreboardValues(ScoreObjective objective, int p_175247_2_, java.lang.String name, int p_175247_4_, int p_175247_5_, NetworkPlayerInfo info)
public void setFooter(@Nullable ITextComponent footerIn)
public void setHeader(@Nullable ITextComponent headerIn)
public void resetFooterHeader()