public class PlayerTabOverlayGui extends AbstractGui
Modifier and Type | Class and Description |
---|---|
(package private) static class |
PlayerTabOverlayGui.PlayerComparator |
Modifier and Type | Field and Description |
---|---|
private static com.google.common.collect.Ordering<NetworkPlayerInfo> |
ENTRY_ORDERING |
private ITextComponent |
footer |
private IngameGui |
guiIngame |
private ITextComponent |
header |
private long |
lastTimeOpened |
private Minecraft |
mc |
private boolean |
visible |
BACKGROUND_LOCATION, GUI_ICONS_LOCATION, STATS_ICON_LOCATION
Constructor and Description |
---|
PlayerTabOverlayGui(Minecraft mcIn,
IngameGui 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) |
ITextComponent |
getDisplayName(NetworkPlayerInfo p_200262_1_) |
void |
render(int width,
Scoreboard scoreboardIn,
ScoreObjective scoreObjectiveIn) |
void |
resetFooterHeader() |
void |
setFooter(ITextComponent footerIn) |
void |
setHeader(ITextComponent headerIn) |
void |
setVisible(boolean visible) |
blit, blit, blit, blit, blit, drawCenteredString, drawRightAlignedString, drawString, fill, fill, fillGradient, getBlitOffset, hLine, innerBlit, setBlitOffset, vLine
private static final com.google.common.collect.Ordering<NetworkPlayerInfo> ENTRY_ORDERING
private final Minecraft mc
private final IngameGui guiIngame
private ITextComponent footer
private ITextComponent header
private long lastTimeOpened
private boolean visible
public ITextComponent getDisplayName(NetworkPlayerInfo p_200262_1_)
public void setVisible(boolean visible)
public void render(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()