Package net.minecraft.client.gui.overlay
Class PlayerTabOverlayGui
- java.lang.Object
-
- net.minecraft.client.gui.AbstractGui
-
- net.minecraft.client.gui.overlay.PlayerTabOverlayGui
-
public class PlayerTabOverlayGui extends AbstractGui
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static class
PlayerTabOverlayGui.PlayerComparator
-
Field Summary
Fields Modifier and Type Field Description private ITextComponent
footer
private IngameGui
gui
private ITextComponent
header
private Minecraft
minecraft
private static com.google.common.collect.Ordering<NetworkPlayerInfo>
PLAYER_ORDERING
private long
visibilityId
private boolean
visible
-
Fields inherited from class net.minecraft.client.gui.AbstractGui
BACKGROUND_LOCATION, GUI_ICONS_LOCATION, STATS_ICON_LOCATION
-
-
Constructor Summary
Constructors Constructor Description PlayerTabOverlayGui(Minecraft p_i45529_1_, IngameGui p_i45529_2_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private ITextComponent
decorateName(NetworkPlayerInfo p_238524_1_, IFormattableTextComponent p_238524_2_)
ITextComponent
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_, java.lang.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 Detail
-
PLAYER_ORDERING
private static final com.google.common.collect.Ordering<NetworkPlayerInfo> PLAYER_ORDERING
-
minecraft
private final Minecraft minecraft
-
gui
private final IngameGui gui
-
footer
private ITextComponent footer
-
header
private ITextComponent header
-
visibilityId
private long visibilityId
-
visible
private boolean visible
-
-
Method Detail
-
getNameForDisplay
public ITextComponent getNameForDisplay(NetworkPlayerInfo p_200262_1_)
-
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_, java.lang.String p_175247_3_, int p_175247_4_, int p_175247_5_, NetworkPlayerInfo p_175247_6_, MatrixStack p_175247_7_)
-
setFooter
public void setFooter(@Nullable ITextComponent p_175248_1_)
-
setHeader
public void setHeader(@Nullable ITextComponent p_175244_1_)
-
reset
public void reset()
-
-