Class PlayerTabOverlay
java.lang.Object
net.minecraft.client.gui.GuiComponent
net.minecraft.client.gui.components.PlayerTabOverlay
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate Component
private final Gui
private Component
private final Map<UUID,
PlayerTabOverlay.HealthState> 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 Comparator<PlayerInfo>
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
renderTablistHearts
(int p_250075_, int p_249542_, int p_252111_, UUID p_251726_, PoseStack p_251133_, int p_249723_) private void
renderTablistScore
(Objective p_249563_, int p_248535_, String p_249046_, int p_249960_, int p_251423_, UUID p_250409_, PoseStack p_249417_) 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_COMPARATOR
-
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
-
visible
private boolean visible -
healthStates
-
-
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
-
renderTablistHearts
-
setHeader
-
reset
public void reset()
-