Class PlayerTabOverlay

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

public class PlayerTabOverlay extends GuiComponent
  • Field Details

    • PLAYER_ORDERING

      private static final com.google.common.collect.Ordering<PlayerInfo> PLAYER_ORDERING
    • MAX_ROWS_PER_COL

      public static final int MAX_ROWS_PER_COL
      See Also:
      Constant Field Values
    • HEART_EMPTY_CONTAINER

      public static final int HEART_EMPTY_CONTAINER
      See Also:
      Constant Field Values
    • HEART_EMPTY_CONTAINER_BLINKING

      public static final int HEART_EMPTY_CONTAINER_BLINKING
      See Also:
      Constant Field Values
    • HEART_FULL

      public static final int HEART_FULL
      See Also:
      Constant Field Values
    • HEART_HALF_FULL

      public static final int HEART_HALF_FULL
      See Also:
      Constant Field Values
    • HEART_GOLDEN_FULL

      public static final int HEART_GOLDEN_FULL
      See Also:
      Constant Field Values
    • HEART_GOLDEN_HALF_FULL

      public static final int HEART_GOLDEN_HALF_FULL
      See Also:
      Constant Field Values
    • HEART_GHOST_FULL

      public static final int HEART_GHOST_FULL
      See Also:
      Constant Field Values
    • HEART_GHOST_HALF_FULL

      public static final int HEART_GHOST_HALF_FULL
      See Also:
      Constant Field Values
    • minecraft

      private final Minecraft minecraft
    • gui

      private final Gui gui
    • visibilityId

      private long visibilityId
    • visible

      private boolean visible
  • Constructor Details

    • PlayerTabOverlay

      public PlayerTabOverlay(Minecraft p_94527_, Gui p_94528_)
  • Method Details

    • getNameForDisplay

      public Component getNameForDisplay(PlayerInfo p_94550_)
    • decorateName

      private Component decorateName(PlayerInfo p_94552_, MutableComponent p_94553_)
    • 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_)
    • setFooter

      public void setFooter(@Nullable Component p_94555_)
    • setHeader

      public void setHeader(@Nullable Component p_94559_)
    • reset

      public void reset()