Package net.minecraft.client.gui.hud
Class ClientBossBar
java.lang.Object
net.minecraft.entity.boss.BossBar
net.minecraft.client.gui.hud.ClientBossBar
- Mappings:
Namespace Name official dxj
intermediary net/minecraft/class_345
named net/minecraft/client/gui/hud/ClientBossBar
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.boss.BossBar
BossBar.Color, BossBar.Style
-
Field Summary
Modifier and TypeFieldDescriptionprivate static long
protected float
protected long
Fields inherited from class net.minecraft.entity.boss.BossBar
color, darkenSky, dragonMusic, name, percent, style, thickenFog
-
Constructor Summary
ConstructorDescriptionClientBossBar(UUID uuid, Text name, float percent, BossBar.Color color, BossBar.Style style, boolean darkenSky, boolean dragonMusic, boolean thickenFog)
-
Method Summary
Methods inherited from class net.minecraft.entity.boss.BossBar
getColor, getName, getStyle, getUuid, hasDragonMusic, setColor, setDarkenSky, setDragonMusic, setName, setStyle, setThickenFog, shouldDarkenSky, shouldThickenFog
-
Field Details
-
field_32204
private static final long field_32204- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official j
Ldxj;j:J
intermediary field_32204
Lnet/minecraft/class_345;field_32204:J
named field_32204
Lnet/minecraft/client/gui/hud/ClientBossBar;field_32204:J
-
healthLatest
protected float healthLatest- Mappings:
Namespace Name Mixin selector official h
Ldxj;h:F
intermediary field_2129
Lnet/minecraft/class_345;field_2129:F
named healthLatest
Lnet/minecraft/client/gui/hud/ClientBossBar;healthLatest:F
-
timeHealthSet
protected long timeHealthSet- Mappings:
Namespace Name Mixin selector official i
Ldxj;i:J
intermediary field_2128
Lnet/minecraft/class_345;field_2128:J
named timeHealthSet
Lnet/minecraft/client/gui/hud/ClientBossBar;timeHealthSet:J
-
-
Constructor Details
-
ClientBossBar
public ClientBossBar(UUID uuid, Text name, float percent, BossBar.Color color, BossBar.Style style, boolean darkenSky, boolean dragonMusic, boolean thickenFog)- Mappings:
Namespace Name Mixin selector official <init>
Ldxj;<init>(Ljava/util/UUID;Los;FLarq$a;Larq$b;ZZZ)V
intermediary <init>
Lnet/minecraft/class_345;<init>(Ljava/util/UUID;Lnet/minecraft/class_2561;FLnet/minecraft/class_1259$class_1260;Lnet/minecraft/class_1259$class_1261;ZZZ)V
named <init>
Lnet/minecraft/client/gui/hud/ClientBossBar;<init>(Ljava/util/UUID;Lnet/minecraft/text/Text;FLnet/minecraft/entity/boss/BossBar$Color;Lnet/minecraft/entity/boss/BossBar$Style;ZZZ)V
-
-
Method Details
-
setPercent
public void setPercent(float percentage)- Overrides:
setPercent
in classBossBar
- Mappings:
Namespace Name Mixin selector official a
Larq;a(F)V
intermediary method_5408
Lnet/minecraft/class_1259;method_5408(F)V
named setPercent
Lnet/minecraft/entity/boss/BossBar;setPercent(F)V
-
getPercent
public float getPercent()- Overrides:
getPercent
in classBossBar
- Mappings:
Namespace Name Mixin selector official k
Larq;k()F
intermediary method_5412
Lnet/minecraft/class_1259;method_5412()F
named getPercent
Lnet/minecraft/entity/boss/BossBar;getPercent()F
-