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 dyz
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 Ldyz;a:Lyh;
      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:
      Mappings:
      Namespace Name Mixin selector
      official b Ldyz;b:I
      intermediary field_32177 Lnet/minecraft/class_337;field_32177:I
      named WIDTH Lnet/minecraft/client/gui/hud/BossBarHud;WIDTH:I
    • HEIGHT

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

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

      private final MinecraftClient client
      Mappings:
      Namespace Name Mixin selector
      official e Ldyz;e:Ldxo;
      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 Ldyz;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> Ldyz;<init>(Ldxo;)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 Ldyz;a(Ldsj;)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 Ldyz;a(Ldsj;IILavg;)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 Ldyz;a(Lri;)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 Ldyz;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 Ldyz;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 Ldyz;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 Ldyz;d()Z
      intermediary method_1800 Lnet/minecraft/class_337;method_1800()Z
      named shouldThickenFog Lnet/minecraft/client/gui/hud/BossBarHud;shouldThickenFog()Z