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 fod
  • 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 Lfod;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 Lfod;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 Lfod;c:[Lalz;
    • 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 Lfod;d:[Lalz;
    • 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 Lfod;e:[Lalz;
    • 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 Lfod;f:[Lalz;
    • 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 Lfod;g:Lfmf;
    • 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 Lfod;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> Lfod;<init>(Lfmf;)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 Lfod;a(Lfnr;)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 Lfod;a(Lfnr;IILbsy;)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 Lfod;a(Lfnr;IILbsy;I[Lalz;[Lalz;)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 Lfod;a(Ladb;)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 Lfod;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 Lfod;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 Lfod;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 Lfod;d()Z