类 PlayerTabOverlay

java.lang.Object
net.minecraft.client.gui.components.PlayerTabOverlay

public class PlayerTabOverlay extends Object
  • 字段详细资料

    • PING_UNKNOWN_SPRITE

      private static final ResourceLocation PING_UNKNOWN_SPRITE
    • PING_1_SPRITE

      private static final ResourceLocation PING_1_SPRITE
    • PING_2_SPRITE

      private static final ResourceLocation PING_2_SPRITE
    • PING_3_SPRITE

      private static final ResourceLocation PING_3_SPRITE
    • PING_4_SPRITE

      private static final ResourceLocation PING_4_SPRITE
    • PING_5_SPRITE

      private static final ResourceLocation PING_5_SPRITE
    • HEART_CONTAINER_BLINKING_SPRITE

      private static final ResourceLocation HEART_CONTAINER_BLINKING_SPRITE
    • HEART_CONTAINER_SPRITE

      private static final ResourceLocation HEART_CONTAINER_SPRITE
    • HEART_FULL_BLINKING_SPRITE

      private static final ResourceLocation HEART_FULL_BLINKING_SPRITE
    • HEART_HALF_BLINKING_SPRITE

      private static final ResourceLocation HEART_HALF_BLINKING_SPRITE
    • HEART_ABSORBING_FULL_BLINKING_SPRITE

      private static final ResourceLocation HEART_ABSORBING_FULL_BLINKING_SPRITE
    • HEART_FULL_SPRITE

      private static final ResourceLocation HEART_FULL_SPRITE
    • HEART_ABSORBING_HALF_BLINKING_SPRITE

      private static final ResourceLocation HEART_ABSORBING_HALF_BLINKING_SPRITE
    • HEART_HALF_SPRITE

      private static final ResourceLocation HEART_HALF_SPRITE
    • PLAYER_COMPARATOR

      private static final Comparator<PlayerInfo> PLAYER_COMPARATOR
    • MAX_ROWS_PER_COL

      public static final int MAX_ROWS_PER_COL
      另请参阅:
    • minecraft

      private final Minecraft minecraft
    • gui

      private final Gui gui
    • visible

      private boolean visible
    • healthStates

      private final Map<UUID,PlayerTabOverlay.HealthState> healthStates
  • 构造器详细资料

    • PlayerTabOverlay

      public PlayerTabOverlay(Minecraft p_94527_, Gui p_94528_)
  • 方法详细资料

    • getNameForDisplay

      public Component getNameForDisplay(PlayerInfo p_94550_)
    • decorateName

      private Component decorateName(PlayerInfo p_94552_, MutableComponent p_94553_)
    • setVisible

      public void setVisible(boolean p_94557_)
    • getPlayerInfos

      private List<PlayerInfo> 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_)
    • setFooter

      public void setFooter(@Nullable Component p_94555_)
    • setHeader

      public void setHeader(@Nullable Component p_94559_)
    • reset

      public void reset()