Class PlayerTabOverlay
java.lang.Object
net.minecraft.client.gui.components.PlayerTabOverlay
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate Component
private final Gui
private static final ResourceLocation
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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate Component
decorateName
(PlayerInfo p_94552_, MutableComponent p_94553_) getNameForDisplay
(PlayerInfo p_94550_) private List<PlayerInfo>
void
render
(GuiGraphics p_281484_, int p_283602_, Scoreboard p_282338_, Objective p_282369_) protected void
renderPingIcon
(GuiGraphics p_283286_, int p_281809_, int p_282801_, int p_282223_, PlayerInfo p_282986_) private void
renderTablistHearts
(int p_282904_, int p_283173_, int p_282149_, UUID p_283348_, GuiGraphics p_281723_, int p_281354_) private void
renderTablistScore
(Objective p_283381_, int p_282557_, String p_283058_, int p_283533_, int p_281254_, UUID p_283099_, GuiGraphics p_282280_) void
reset()
void
void
void
setVisible
(boolean p_94557_)
-
Field Details
-
PLAYER_COMPARATOR
-
GUI_ICONS_LOCATION
-
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_) -
getPlayerInfos
-
render
public void render(GuiGraphics p_281484_, int p_283602_, Scoreboard p_282338_, @Nullable Objective p_282369_) -
renderPingIcon
protected void renderPingIcon(GuiGraphics p_283286_, int p_281809_, int p_282801_, int p_282223_, PlayerInfo p_282986_) -
renderTablistScore
private void renderTablistScore(Objective p_283381_, int p_282557_, String p_283058_, int p_283533_, int p_281254_, UUID p_283099_, GuiGraphics p_282280_) -
renderTablistHearts
private void renderTablistHearts(int p_282904_, int p_283173_, int p_282149_, UUID p_283348_, GuiGraphics p_281723_, int p_281354_) -
setHeader
-
reset
public void reset()
-