Package net.minecraft.entity.boss
Class BossBar
java.lang.Object
net.minecraft.entity.boss.BossBar
- Direct Known Subclasses:
ClientBossBar
,ServerBossBar
public abstract class BossBar extends Object
- Mappings:
Namespace Name official apg
intermediary net/minecraft/class_1259
named net/minecraft/entity/boss/BossBar
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
BossBar.Color
static class
BossBar.Style
-
Field Summary
Fields Modifier and Type Field Description protected BossBar.Color
color
protected boolean
darkenSky
protected boolean
dragonMusic
protected Text
name
protected float
percent
protected BossBar.Style
style
protected boolean
thickenFog
private UUID
uuid
-
Constructor Summary
Constructors Constructor Description BossBar(UUID uuid, Text name, BossBar.Color color, BossBar.Style style)
-
Method Summary
Modifier and Type Method Description BossBar.Color
getColor()
Text
getName()
BossBar.Style
getOverlay()
float
getPercent()
UUID
getUuid()
boolean
hasDragonMusic()
void
setColor(BossBar.Color color)
BossBar
setDarkenSky(boolean darkenSky)
BossBar
setDragonMusic(boolean dragonMusic)
void
setName(Text name)
void
setOverlay(BossBar.Style style)
void
setPercent(float percentage)
BossBar
setThickenFog(boolean thickenFog)
boolean
shouldDarkenSky()
boolean
shouldThickenFog()
-
Field Details
-
uuid
- Mappings:
Namespace Name Mixin selector official h
Lapg;h:Ljava/util/UUID;
intermediary field_5772
Lnet/minecraft/class_1259;field_5772:Ljava/util/UUID;
named uuid
Lnet/minecraft/entity/boss/BossBar;uuid:Ljava/util/UUID;
-
name
- Mappings:
Namespace Name Mixin selector official a
Lapg;a:Loi;
intermediary field_5777
Lnet/minecraft/class_1259;field_5777:Lnet/minecraft/class_2561;
named name
Lnet/minecraft/entity/boss/BossBar;name:Lnet/minecraft/text/Text;
-
percent
protected float percent- Mappings:
Namespace Name Mixin selector official b
Lapg;b:F
intermediary field_5774
Lnet/minecraft/class_1259;field_5774:F
named percent
Lnet/minecraft/entity/boss/BossBar;percent:F
-
color
- Mappings:
Namespace Name Mixin selector official c
Lapg;c:Lapg$a;
intermediary field_5778
Lnet/minecraft/class_1259;field_5778:Lnet/minecraft/class_1259$class_1260;
named color
Lnet/minecraft/entity/boss/BossBar;color:Lnet/minecraft/entity/boss/BossBar$Color;
-
style
- Mappings:
Namespace Name Mixin selector official d
Lapg;d:Lapg$b;
intermediary field_5779
Lnet/minecraft/class_1259;field_5779:Lnet/minecraft/class_1259$class_1261;
named style
Lnet/minecraft/entity/boss/BossBar;style:Lnet/minecraft/entity/boss/BossBar$Style;
-
darkenSky
protected boolean darkenSky- Mappings:
Namespace Name Mixin selector official e
Lapg;e:Z
intermediary field_5776
Lnet/minecraft/class_1259;field_5776:Z
named darkenSky
Lnet/minecraft/entity/boss/BossBar;darkenSky:Z
-
dragonMusic
protected boolean dragonMusic- Mappings:
Namespace Name Mixin selector official f
Lapg;f:Z
intermediary field_5775
Lnet/minecraft/class_1259;field_5775:Z
named dragonMusic
Lnet/minecraft/entity/boss/BossBar;dragonMusic:Z
-
thickenFog
protected boolean thickenFog- Mappings:
Namespace Name Mixin selector official g
Lapg;g:Z
intermediary field_5773
Lnet/minecraft/class_1259;field_5773:Z
named thickenFog
Lnet/minecraft/entity/boss/BossBar;thickenFog:Z
-
-
Constructor Details
-
BossBar
- Mappings:
Namespace Name Mixin selector official <init>
Lapg;<init>(Ljava/util/UUID;Loi;Lapg$a;Lapg$b;)V
intermediary <init>
Lnet/minecraft/class_1259;<init>(Ljava/util/UUID;Lnet/minecraft/class_2561;Lnet/minecraft/class_1259$class_1260;Lnet/minecraft/class_1259$class_1261;)V
named <init>
Lnet/minecraft/entity/boss/BossBar;<init>(Ljava/util/UUID;Lnet/minecraft/text/Text;Lnet/minecraft/entity/boss/BossBar$Color;Lnet/minecraft/entity/boss/BossBar$Style;)V
-
-
Method Details
-
getUuid
- Mappings:
Namespace Name Mixin selector official i
Lapg;i()Ljava/util/UUID;
intermediary method_5407
Lnet/minecraft/class_1259;method_5407()Ljava/util/UUID;
named getUuid
Lnet/minecraft/entity/boss/BossBar;getUuid()Ljava/util/UUID;
-
getName
- Mappings:
Namespace Name Mixin selector official j
Lapg;j()Loi;
intermediary method_5414
Lnet/minecraft/class_1259;method_5414()Lnet/minecraft/class_2561;
named getName
Lnet/minecraft/entity/boss/BossBar;getName()Lnet/minecraft/text/Text;
-
setName
- Mappings:
Namespace Name Mixin selector official a
Lapg;a(Loi;)V
intermediary method_5413
Lnet/minecraft/class_1259;method_5413(Lnet/minecraft/class_2561;)V
named setName
Lnet/minecraft/entity/boss/BossBar;setName(Lnet/minecraft/text/Text;)V
-
getPercent
public float getPercent()- Mappings:
Namespace Name Mixin selector official k
Lapg;k()F
intermediary method_5412
Lnet/minecraft/class_1259;method_5412()F
named getPercent
Lnet/minecraft/entity/boss/BossBar;getPercent()F
-
setPercent
public void setPercent(float percentage)- Mappings:
Namespace Name Mixin selector official a
Lapg;a(F)V
intermediary method_5408
Lnet/minecraft/class_1259;method_5408(F)V
named setPercent
Lnet/minecraft/entity/boss/BossBar;setPercent(F)V
-
getColor
- Mappings:
Namespace Name Mixin selector official l
Lapg;l()Lapg$a;
intermediary method_5420
Lnet/minecraft/class_1259;method_5420()Lnet/minecraft/class_1259$class_1260;
named getColor
Lnet/minecraft/entity/boss/BossBar;getColor()Lnet/minecraft/entity/boss/BossBar$Color;
-
setColor
- Mappings:
Namespace Name Mixin selector official a
Lapg;a(Lapg$a;)V
intermediary method_5416
Lnet/minecraft/class_1259;method_5416(Lnet/minecraft/class_1259$class_1260;)V
named setColor
Lnet/minecraft/entity/boss/BossBar;setColor(Lnet/minecraft/entity/boss/BossBar$Color;)V
-
getOverlay
- Mappings:
Namespace Name Mixin selector official m
Lapg;m()Lapg$b;
intermediary method_5415
Lnet/minecraft/class_1259;method_5415()Lnet/minecraft/class_1259$class_1261;
named getOverlay
Lnet/minecraft/entity/boss/BossBar;getOverlay()Lnet/minecraft/entity/boss/BossBar$Style;
-
setOverlay
- Mappings:
Namespace Name Mixin selector official a
Lapg;a(Lapg$b;)V
intermediary method_5409
Lnet/minecraft/class_1259;method_5409(Lnet/minecraft/class_1259$class_1261;)V
named setOverlay
Lnet/minecraft/entity/boss/BossBar;setOverlay(Lnet/minecraft/entity/boss/BossBar$Style;)V
-
shouldDarkenSky
public boolean shouldDarkenSky()- Mappings:
Namespace Name Mixin selector official n
Lapg;n()Z
intermediary method_5417
Lnet/minecraft/class_1259;method_5417()Z
named shouldDarkenSky
Lnet/minecraft/entity/boss/BossBar;shouldDarkenSky()Z
-
setDarkenSky
- Mappings:
Namespace Name Mixin selector official a
Lapg;a(Z)Lapg;
intermediary method_5406
Lnet/minecraft/class_1259;method_5406(Z)Lnet/minecraft/class_1259;
named setDarkenSky
Lnet/minecraft/entity/boss/BossBar;setDarkenSky(Z)Lnet/minecraft/entity/boss/BossBar;
-
hasDragonMusic
public boolean hasDragonMusic()- Mappings:
Namespace Name Mixin selector official o
Lapg;o()Z
intermediary method_5418
Lnet/minecraft/class_1259;method_5418()Z
named hasDragonMusic
Lnet/minecraft/entity/boss/BossBar;hasDragonMusic()Z
-
setDragonMusic
- Mappings:
Namespace Name Mixin selector official b
Lapg;b(Z)Lapg;
intermediary method_5410
Lnet/minecraft/class_1259;method_5410(Z)Lnet/minecraft/class_1259;
named setDragonMusic
Lnet/minecraft/entity/boss/BossBar;setDragonMusic(Z)Lnet/minecraft/entity/boss/BossBar;
-
setThickenFog
- Mappings:
Namespace Name Mixin selector official c
Lapg;c(Z)Lapg;
intermediary method_5411
Lnet/minecraft/class_1259;method_5411(Z)Lnet/minecraft/class_1259;
named setThickenFog
Lnet/minecraft/entity/boss/BossBar;setThickenFog(Z)Lnet/minecraft/entity/boss/BossBar;
-
shouldThickenFog
public boolean shouldThickenFog()- Mappings:
Namespace Name Mixin selector official p
Lapg;p()Z
intermediary method_5419
Lnet/minecraft/class_1259;method_5419()Z
named shouldThickenFog
Lnet/minecraft/entity/boss/BossBar;shouldThickenFog()Z
-