类 PlayerTabOverlay
java.lang.Object
net.minecraft.client.gui.components.PlayerTabOverlay
-
嵌套类概要
嵌套类修饰符和类型类说明(专用程序包) static class
(专用程序包) static final record
-
字段概要
字段修饰符和类型字段说明private Component
private final Gui
private Component
private final Map
<UUID, PlayerTabOverlay.HealthState> private static final ResourceLocation
private static final ResourceLocation
private static final ResourceLocation
private static final ResourceLocation
private static final ResourceLocation
private static final ResourceLocation
private static final ResourceLocation
private static final ResourceLocation
static final int
private final Minecraft
private static final ResourceLocation
private static final ResourceLocation
private static final ResourceLocation
private static final ResourceLocation
private static final ResourceLocation
private static final ResourceLocation
private static final Comparator
<PlayerInfo> private boolean
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明private 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_, PlayerTabOverlay.ScoreDisplayEntry p_312058_, int p_283533_, int p_281254_, UUID p_283099_, GuiGraphics p_282280_) void
reset()
void
void
void
setVisible
(boolean p_94557_)
-
字段详细资料
-
PING_UNKNOWN_SPRITE
-
PING_1_SPRITE
-
PING_2_SPRITE
-
PING_3_SPRITE
-
PING_4_SPRITE
-
PING_5_SPRITE
-
HEART_CONTAINER_BLINKING_SPRITE
-
HEART_CONTAINER_SPRITE
-
HEART_FULL_BLINKING_SPRITE
-
HEART_HALF_BLINKING_SPRITE
-
HEART_ABSORBING_FULL_BLINKING_SPRITE
-
HEART_FULL_SPRITE
-
HEART_ABSORBING_HALF_BLINKING_SPRITE
-
HEART_HALF_SPRITE
-
PLAYER_COMPARATOR
-
MAX_ROWS_PER_COL
public static final int MAX_ROWS_PER_COL- 另请参阅:
-
minecraft
-
gui
-
header
-
visible
private boolean visible -
healthStates
-
-
构造器详细资料
-
PlayerTabOverlay
-
-
方法详细资料
-
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_, PlayerTabOverlay.ScoreDisplayEntry p_312058_, 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()
-