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> |
field_175252_a |
private IChatComponent |
footer |
private GuiIngame |
guiIngame |
private IChatComponent |
header |
private boolean |
isBeingRendered
Weither or not the playerlist is currently being rendered
|
private long |
lastTimeOpened
The last time the playerlist was opened (went from not being renderd, to being rendered)
|
private Minecraft |
mc |
icons, optionsBackground, statIcons, 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 p_175247_1_,
int p_175247_2_,
java.lang.String p_175247_3_,
int p_175247_4_,
int p_175247_5_,
NetworkPlayerInfo p_175247_6_) |
void |
func_181030_a() |
java.lang.String |
getPlayerName(NetworkPlayerInfo networkPlayerInfoIn)
Returns the name that should be renderd for the player supplied
|
void |
renderPlayerlist(int width,
Scoreboard scoreboardIn,
ScoreObjective scoreObjectiveIn)
Renders the playerlist, its background, headers and footers.
|
void |
setFooter(IChatComponent footerIn) |
void |
setHeader(IChatComponent headerIn) |
void |
updatePlayerList(boolean willBeRendered)
Called by GuiIngame to update the information stored in the playerlist, does not actually render the list,
however.
|
drawCenteredString, drawGradientRect, drawHorizontalLine, drawModalRectWithCustomSizedTexture, drawRect, drawScaledCustomSizeModalRect, drawString, drawTexturedModalRect, drawTexturedModalRect, drawTexturedModalRect, drawVerticalLine
private static final com.google.common.collect.Ordering<NetworkPlayerInfo> field_175252_a
private final Minecraft mc
private final GuiIngame guiIngame
private IChatComponent footer
private IChatComponent 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, ScoreObjective scoreObjectiveIn)
protected void drawPing(int p_175245_1_, int p_175245_2_, int p_175245_3_, NetworkPlayerInfo networkPlayerInfoIn)
private void drawScoreboardValues(ScoreObjective p_175247_1_, int p_175247_2_, java.lang.String p_175247_3_, int p_175247_4_, int p_175247_5_, NetworkPlayerInfo p_175247_6_)
public void setFooter(IChatComponent footerIn)
public void setHeader(IChatComponent headerIn)
public void func_181030_a()