Class BossBarHud

java.lang.Object
net.minecraft.client.gui.hud.BossBarHud

@Environment(CLIENT) public class BossBarHud extends Object
Mappings:
Namespace Name
named net/minecraft/client/gui/hud/BossBarHud
intermediary net/minecraft/class_337
official fil
  • Field Details

    • WIDTH

      private static final int WIDTH
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named WIDTH Lnet/minecraft/client/gui/hud/BossBarHud;WIDTH:I
      intermediary field_32177 Lnet/minecraft/class_337;field_32177:I
      official a Lfil;a:I
    • HEIGHT

      private static final int HEIGHT
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named HEIGHT Lnet/minecraft/client/gui/hud/BossBarHud;HEIGHT:I
      intermediary field_32178 Lnet/minecraft/class_337;field_32178:I
      official b Lfil;b:I
    • BACKGROUND_TEXTURES

      private static final Identifier[] BACKGROUND_TEXTURES
      Mappings:
      Namespace Name Mixin selector
      named BACKGROUND_TEXTURES Lnet/minecraft/client/gui/hud/BossBarHud;BACKGROUND_TEXTURES:[Lnet/minecraft/util/Identifier;
      intermediary field_45344 Lnet/minecraft/class_337;field_45344:[Lnet/minecraft/class_2960;
      official c Lfil;c:[Lakr;
    • PROGRESS_TEXTURES

      private static final Identifier[] PROGRESS_TEXTURES
      Mappings:
      Namespace Name Mixin selector
      named PROGRESS_TEXTURES Lnet/minecraft/client/gui/hud/BossBarHud;PROGRESS_TEXTURES:[Lnet/minecraft/util/Identifier;
      intermediary field_45345 Lnet/minecraft/class_337;field_45345:[Lnet/minecraft/class_2960;
      official d Lfil;d:[Lakr;
    • NOTCHED_BACKGROUND_TEXTURES

      private static final Identifier[] NOTCHED_BACKGROUND_TEXTURES
      Mappings:
      Namespace Name Mixin selector
      named NOTCHED_BACKGROUND_TEXTURES Lnet/minecraft/client/gui/hud/BossBarHud;NOTCHED_BACKGROUND_TEXTURES:[Lnet/minecraft/util/Identifier;
      intermediary field_45346 Lnet/minecraft/class_337;field_45346:[Lnet/minecraft/class_2960;
      official e Lfil;e:[Lakr;
    • NOTCHED_PROGRESS_TEXTURES

      private static final Identifier[] NOTCHED_PROGRESS_TEXTURES
      Mappings:
      Namespace Name Mixin selector
      named NOTCHED_PROGRESS_TEXTURES Lnet/minecraft/client/gui/hud/BossBarHud;NOTCHED_PROGRESS_TEXTURES:[Lnet/minecraft/util/Identifier;
      intermediary field_45347 Lnet/minecraft/class_337;field_45347:[Lnet/minecraft/class_2960;
      official f Lfil;f:[Lakr;
    • client

      private final MinecraftClient client
      Mappings:
      Namespace Name Mixin selector
      named client Lnet/minecraft/client/gui/hud/BossBarHud;client:Lnet/minecraft/client/MinecraftClient;
      intermediary field_2058 Lnet/minecraft/class_337;field_2058:Lnet/minecraft/class_310;
      official g Lfil;g:Lfgo;
    • bossBars

      final Map<UUID,ClientBossBar> bossBars
      Mappings:
      Namespace Name Mixin selector
      named bossBars Lnet/minecraft/client/gui/hud/BossBarHud;bossBars:Ljava/util/Map;
      intermediary field_2060 Lnet/minecraft/class_337;field_2060:Ljava/util/Map;
      official h Lfil;h:Ljava/util/Map;
  • Constructor Details

    • BossBarHud

      public BossBarHud(MinecraftClient client)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/gui/hud/BossBarHud;<init>(Lnet/minecraft/client/MinecraftClient;)V
      intermediary <init> Lnet/minecraft/class_337;<init>(Lnet/minecraft/class_310;)V
      official <init> Lfil;<init>(Lfgo;)V
  • Method Details

    • render

      public void render(DrawContext context)
      Mappings:
      Namespace Name Mixin selector
      named render Lnet/minecraft/client/gui/hud/BossBarHud;render(Lnet/minecraft/client/gui/DrawContext;)V
      intermediary method_1796 Lnet/minecraft/class_337;method_1796(Lnet/minecraft/class_332;)V
      official a Lfil;a(Lfhz;)V
    • renderBossBar

      private void renderBossBar(DrawContext context, int x, int y, BossBar bossBar)
      Mappings:
      Namespace Name Mixin selector
      named renderBossBar Lnet/minecraft/client/gui/hud/BossBarHud;renderBossBar(Lnet/minecraft/client/gui/DrawContext;IILnet/minecraft/entity/boss/BossBar;)V
      intermediary method_1799 Lnet/minecraft/class_337;method_1799(Lnet/minecraft/class_332;IILnet/minecraft/class_1259;)V
      official a Lfil;a(Lfhz;IILbqh;)V
    • renderBossBar

      private void renderBossBar(DrawContext context, int x, int y, BossBar bossBar, int width, Identifier[] textures, Identifier[] notchedTextures)
      Mappings:
      Namespace Name Mixin selector
      named renderBossBar Lnet/minecraft/client/gui/hud/BossBarHud;renderBossBar(Lnet/minecraft/client/gui/DrawContext;IILnet/minecraft/entity/boss/BossBar;I[Lnet/minecraft/util/Identifier;[Lnet/minecraft/util/Identifier;)V
      intermediary method_41830 Lnet/minecraft/class_337;method_41830(Lnet/minecraft/class_332;IILnet/minecraft/class_1259;I[Lnet/minecraft/class_2960;[Lnet/minecraft/class_2960;)V
      official a Lfil;a(Lfhz;IILbqh;I[Lakr;[Lakr;)V
    • handlePacket

      public void handlePacket(BossBarS2CPacket packet)
      Mappings:
      Namespace Name Mixin selector
      named handlePacket Lnet/minecraft/client/gui/hud/BossBarHud;handlePacket(Lnet/minecraft/network/packet/s2c/play/BossBarS2CPacket;)V
      intermediary method_1795 Lnet/minecraft/class_337;method_1795(Lnet/minecraft/class_2629;)V
      official a Lfil;a(Lace;)V
    • clear

      public void clear()
      Mappings:
      Namespace Name Mixin selector
      named clear Lnet/minecraft/client/gui/hud/BossBarHud;clear()V
      intermediary method_1801 Lnet/minecraft/class_337;method_1801()V
      official a Lfil;a()V
    • shouldPlayDragonMusic

      public boolean shouldPlayDragonMusic()
      Mappings:
      Namespace Name Mixin selector
      named shouldPlayDragonMusic Lnet/minecraft/client/gui/hud/BossBarHud;shouldPlayDragonMusic()Z
      intermediary method_1798 Lnet/minecraft/class_337;method_1798()Z
      official b Lfil;b()Z
    • shouldDarkenSky

      public boolean shouldDarkenSky()
      Mappings:
      Namespace Name Mixin selector
      named shouldDarkenSky Lnet/minecraft/client/gui/hud/BossBarHud;shouldDarkenSky()Z
      intermediary method_1797 Lnet/minecraft/class_337;method_1797()Z
      official c Lfil;c()Z
    • shouldThickenFog

      public boolean shouldThickenFog()
      Mappings:
      Namespace Name Mixin selector
      named shouldThickenFog Lnet/minecraft/client/gui/hud/BossBarHud;shouldThickenFog()Z
      intermediary method_1800 Lnet/minecraft/class_337;method_1800()Z
      official d Lfil;d()Z