Class PlayerTabOverlay
java.lang.Object
net.minecraft.client.gui.GuiComponent
net.minecraft.client.gui.components.PlayerTabOverlay
-
Nested Class Summary
Modifier and TypeClassDescription(package private) static class
-
Field Summary
Modifier and TypeFieldDescriptionprivate Component
private final Gui
private Component
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
private final Minecraft
private static final com.google.common.collect.Ordering<PlayerInfo>
private long
private boolean
Fields inherited from class net.minecraft.client.gui.GuiComponent
BACKGROUND_LOCATION, GUI_ICONS_LOCATION, STATS_ICON_LOCATION
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate Component
decorateName
(PlayerInfo p_94552_, MutableComponent p_94553_) getNameForDisplay
(PlayerInfo p_94550_) void
render
(PoseStack p_94545_, int p_94546_, Scoreboard p_94547_, Objective p_94548_) protected void
renderPingIcon
(PoseStack p_94539_, int p_94540_, int p_94541_, int p_94542_, PlayerInfo p_94543_) private void
renderTablistScore
(Objective p_94531_, int p_94532_, String p_94533_, int p_94534_, int p_94535_, PlayerInfo p_94536_, PoseStack p_94537_) void
reset()
void
void
void
setVisible
(boolean p_94557_) Methods inherited from class net.minecraft.client.gui.GuiComponent
blit, blit, blit, blit, blit, blitOutlineBlack, disableScissor, drawCenteredString, drawCenteredString, drawCenteredString, drawString, drawString, drawString, enableScissor, fill, fillGradient, fillGradient, fillGradient, getBlitOffset, hLine, setBlitOffset, vLine
-
Field Details
-
PLAYER_ORDERING
-
MAX_ROWS_PER_COL
public static final int MAX_ROWS_PER_COL- See Also:
-
HEART_EMPTY_CONTAINER
public static final int HEART_EMPTY_CONTAINER- See Also:
-
HEART_EMPTY_CONTAINER_BLINKING
public static final int HEART_EMPTY_CONTAINER_BLINKING- See Also:
-
HEART_FULL
public static final int HEART_FULL- See Also:
-
HEART_HALF_FULL
public static final int HEART_HALF_FULL- See Also:
-
HEART_GOLDEN_FULL
public static final int HEART_GOLDEN_FULL- See Also:
-
HEART_GOLDEN_HALF_FULL
public static final int HEART_GOLDEN_HALF_FULL- See Also:
-
HEART_GHOST_FULL
public static final int HEART_GHOST_FULL- See Also:
-
HEART_GHOST_HALF_FULL
public static final int HEART_GHOST_HALF_FULL- See Also:
-
minecraft
-
gui
-
header
-
visibilityId
private long visibilityId -
visible
private boolean visible
-
-
Constructor Details
-
PlayerTabOverlay
-
-
Method Details
-
getNameForDisplay
-
decorateName
-
setVisible
public void setVisible(boolean p_94557_) -
render
public void render(PoseStack p_94545_, int p_94546_, Scoreboard p_94547_, @Nullable Objective p_94548_) -
renderPingIcon
protected void renderPingIcon(PoseStack p_94539_, int p_94540_, int p_94541_, int p_94542_, PlayerInfo p_94543_) -
renderTablistScore
private void renderTablistScore(Objective p_94531_, int p_94532_, String p_94533_, int p_94534_, int p_94535_, PlayerInfo p_94536_, PoseStack p_94537_) -
setHeader
-
reset
public void reset()
-