Class ClientBossBar

java.lang.Object
net.minecraft.entity.boss.BossBar
net.minecraft.client.gui.hud.ClientBossBar

@Environment(CLIENT) public class ClientBossBar extends BossBar
Mappings:
Namespace Name
named net/minecraft/client/gui/hud/ClientBossBar
intermediary net/minecraft/class_345
official fht
  • Field Details

    • HEALTH_CHANGE_ANIMATION_MS

      private static final long HEALTH_CHANGE_ANIMATION_MS
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named HEALTH_CHANGE_ANIMATION_MS Lnet/minecraft/client/gui/hud/ClientBossBar;HEALTH_CHANGE_ANIMATION_MS:J
      intermediary field_32204 Lnet/minecraft/class_345;field_32204:J
      official j Lfht;j:J
    • healthLatest

      protected float healthLatest
      Mappings:
      Namespace Name Mixin selector
      named healthLatest Lnet/minecraft/client/gui/hud/ClientBossBar;healthLatest:F
      intermediary field_2129 Lnet/minecraft/class_345;field_2129:F
      official h Lfht;h:F
    • timeHealthSet

      protected long timeHealthSet
      Mappings:
      Namespace Name Mixin selector
      named timeHealthSet Lnet/minecraft/client/gui/hud/ClientBossBar;timeHealthSet:J
      intermediary field_2128 Lnet/minecraft/class_345;field_2128:J
      official i Lfht;i:J
  • Constructor Details

    • ClientBossBar

      public ClientBossBar(UUID uuid, Text name, float percent, BossBar.Color color, BossBar.Style style, boolean darkenSky, boolean dragonMusic, boolean thickenFog)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/gui/hud/ClientBossBar;<init>(Ljava/util/UUID;Lnet/minecraft/text/Text;FLnet/minecraft/entity/boss/BossBar$Color;Lnet/minecraft/entity/boss/BossBar$Style;ZZZ)V
      intermediary <init> Lnet/minecraft/class_345;<init>(Ljava/util/UUID;Lnet/minecraft/class_2561;FLnet/minecraft/class_1259$class_1260;Lnet/minecraft/class_1259$class_1261;ZZZ)V
      official <init> Lfht;<init>(Ljava/util/UUID;Lxp;FLbql$a;Lbql$b;ZZZ)V
  • Method Details

    • setPercent

      public void setPercent(float percent)
      Overrides:
      setPercent in class BossBar
      Mappings:
      Namespace Name Mixin selector
      named setPercent Lnet/minecraft/entity/boss/BossBar;setPercent(F)V
      intermediary method_5408 Lnet/minecraft/class_1259;method_5408(F)V
      official a Lbql;a(F)V
    • getPercent

      public float getPercent()
      Overrides:
      getPercent in class BossBar
      Mappings:
      Namespace Name Mixin selector
      named getPercent Lnet/minecraft/entity/boss/BossBar;getPercent()F
      intermediary method_5412 Lnet/minecraft/class_1259;method_5412()F
      official j Lbql;j()F