Package net.minecraft.client.gui.hud
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 Summary
Fields Modifier and Type Field Description private static Identifier
BARS_TEXTURE
private Map<UUID,ClientBossBar>
bossBars
private MinecraftClient
client
Fields inherited from class net.minecraft.client.gui.DrawableHelper
GUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTURE
-
Constructor Summary
Constructors Constructor Description BossBarHud(MinecraftClient client)
-
Method Summary
Modifier and Type Method Description void
clear()
void
handlePacket(BossBarS2CPacket packet)
void
render(MatrixStack matrices)
private void
renderBossBar(MatrixStack matrices, int x, int y, BossBar bossBar)
boolean
shouldDarkenSky()
boolean
shouldPlayDragonMusic()
boolean
shouldThickenFog()
Methods inherited from class net.minecraft.client.gui.DrawableHelper
drawCenteredString, drawCenteredText, drawHorizontalLine, drawSprite, drawStringWithShadow, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawVerticalLine, fill, fillGradient, fillGradient, getZOffset, method_29343, method_33284, setZOffset
-
Field Details
-
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
- 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
- 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
- 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
- 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
- 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
- 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
-