Class HardcoreLivesHud

java.lang.Object
com.hypixel.hytale.server.core.universe.hardcore.HardcoreLivesHud

public final class HardcoreLivesHud extends Object
Feeds the client HUD display of hardcore lives next to the health bar.

The display shows the shared pool in a pool mode and the player's own count otherwise. HardcoreLivesHud.ShowOnJoin sends the count as a player is added to a world, HardcoreLivesHud.ShowOnChange pushes each write of a player's PlayerLives, and the death flow fans out pool burns itself.

  • Method Details

    • showPoolToAll

      public static void showPoolToAll(int remaining)
      Sends the shared pool count to every online player.