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 drt
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 Ldrt;a:Lwb;
      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;
    • client

      private final MinecraftClient client
      Mappings:
      Namespace Name Mixin selector
      official b Ldrt;b:Ldqk;
      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

      private final Map<UUID,​ClientBossBar> bossBars
      Mappings:
      Namespace Name Mixin selector
      official c Ldrt;c: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> Ldrt;<init>(Ldqk;)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 Ldrt;a(Ldlr;)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 Ldrt;a(Ldlr;IILapg;)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 Ldrt;a(Lpr;)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 Ldrt;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 Ldrt;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 Ldrt;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 Ldrt;d()Z
      intermediary method_1800 Lnet/minecraft/class_337;method_1800()Z
      named shouldThickenFog Lnet/minecraft/client/gui/hud/BossBarHud;shouldThickenFog()Z