Class BossBarHud

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

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

    • BARS_TEXTURE

      private static final Identifier BARS_TEXTURE
      Mappings:
      Namespace Name Mixin selector
      official a Ldwy;a:Lww;
      intermediary field_2059 Lnet/minecraft/class_337;field_2059:Lnet/minecraft/class_2960;
      named BARS_TEXTURE Lnet/minecraft/client/gui/hud/BossBarHud;BARS_TEXTURE:Lnet/minecraft/util/Identifier;
    • WIDTH

      private static final int WIDTH
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official b Ldwy;b:I
      intermediary field_32177 Lnet/minecraft/class_337;field_32177:I
      named WIDTH Lnet/minecraft/client/gui/hud/BossBarHud;WIDTH:I
    • field_32178

      private static final int field_32178
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official c Ldwy;c:I
      intermediary field_32178 Lnet/minecraft/class_337;field_32178:I
      named field_32178 Lnet/minecraft/client/gui/hud/BossBarHud;field_32178:I
    • field_32179

      private static final int field_32179
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official d Ldwy;d:I
      intermediary field_32179 Lnet/minecraft/class_337;field_32179:I
      named field_32179 Lnet/minecraft/client/gui/hud/BossBarHud;field_32179:I
    • client

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

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

    • BossBarHud

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

    • render

      public void render(MatrixStack matrices)
      Mappings:
      Namespace Name Mixin selector
      official a Ldwy;a(Ldqk;)V
      intermediary method_1796 Lnet/minecraft/class_337;method_1796(Lnet/minecraft/class_4587;)V
      named render Lnet/minecraft/client/gui/hud/BossBarHud;render(Lnet/minecraft/client/util/math/MatrixStack;)V
    • renderBossBar

      private void renderBossBar(MatrixStack matrices, int x, int y, BossBar bossBar)
      Mappings:
      Namespace Name Mixin selector
      official a Ldwy;a(Ldqk;IILarq;)V
      intermediary method_1799 Lnet/minecraft/class_337;method_1799(Lnet/minecraft/class_4587;IILnet/minecraft/class_1259;)V
      named renderBossBar Lnet/minecraft/client/gui/hud/BossBarHud;renderBossBar(Lnet/minecraft/client/util/math/MatrixStack;IILnet/minecraft/entity/boss/BossBar;)V
    • handlePacket

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

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

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

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

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