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 fif
  • 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 Lfif;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 Lfif;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 Lfif;c:[Lakq;
    • 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 Lfif;d:[Lakq;
    • 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 Lfif;e:[Lakq;
    • 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 Lfif;f:[Lakq;
    • 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 Lfif;g:Lfgi;
    • 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 Lfif;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> Lfif;<init>(Lfgi;)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 Lfif;a(Lfht;)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 Lfif;a(Lfht;IILbqg;)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 Lfif;a(Lfht;IILbqg;I[Lakq;[Lakq;)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 Lfif;a(Lacd;)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 Lfif;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 Lfif;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 Lfif;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 Lfif;d()Z