java.lang.Object
com.hypixel.hytale.server.core.entity.entities.player.hud.HudManager

public class HudManager extends Object
  • Field Details

    • DEFAULT_HUD_COMPONENTS

      private static final Set<HudComponent> DEFAULT_HUD_COMPONENTS
    • visibleHudComponents

      private final Set<HudComponent> visibleHudComponents
    • unmodifiableVisibleHudComponents

      private final Set<HudComponent> unmodifiableVisibleHudComponents
    • customHud

      @Nullable private CustomUIHud customHud
  • Constructor Details

    • HudManager

      public HudManager()
    • HudManager

      public HudManager(@Nonnull HudManager other)
  • Method Details

    • getCustomHud

      @Nullable public CustomUIHud getCustomHud()
    • getVisibleHudComponents

      @Nonnull public Set<HudComponent> getVisibleHudComponents()
    • setVisibleHudComponents

      public void setVisibleHudComponents(@Nonnull PlayerRef ref, HudComponent... hudComponents)
    • setVisibleHudComponents

      public void setVisibleHudComponents(@Nonnull PlayerRef ref, @Nonnull Set<HudComponent> hudComponents)
    • showHudComponents

      public void showHudComponents(@Nonnull PlayerRef ref, HudComponent... hudComponents)
    • showHudComponents

      public void showHudComponents(@Nonnull PlayerRef ref, @Nonnull Set<HudComponent> hudComponents)
    • hideHudComponents

      public void hideHudComponents(@Nonnull PlayerRef ref, HudComponent... hudComponents)
    • setCustomHud

      public void setCustomHud(@Nonnull PlayerRef ref, @Nullable CustomUIHud hud)
    • resetHud

      public void resetHud(@Nonnull PlayerRef ref)
    • resetUserInterface

      public void resetUserInterface(@Nonnull PlayerRef ref)
    • sendVisibleHudComponents

      public void sendVisibleHudComponents(@Nonnull PacketHandler packetHandler)
    • toString

      @Nonnull public String toString()
      Overrides:
      toString in class Object