Package net.minecraft.world
Class BossInfo
java.lang.Object
net.minecraft.world.BossInfo
- Direct Known Subclasses:
ClientBossInfo
,ServerBossInfo
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprotected BossInfo.Color
protected boolean
protected boolean
private final UUID
protected ITextComponent
protected BossInfo.Overlay
protected float
protected boolean
-
Constructor Summary
ConstructorDescriptionBossInfo
(UUID p_i46824_1_, ITextComponent p_i46824_2_, BossInfo.Color p_i46824_3_, BossInfo.Overlay p_i46824_4_) -
Method Summary
Modifier and TypeMethodDescriptiongetColor()
getId()
getName()
float
void
setColor
(BossInfo.Color p_186745_1_) setCreateWorldFog
(boolean p_186743_1_) setDarkenScreen
(boolean p_186741_1_) void
setName
(ITextComponent p_186739_1_) void
setOverlay
(BossInfo.Overlay p_186746_1_) void
setPercent
(float p_186735_1_) setPlayBossMusic
(boolean p_186742_1_) boolean
boolean
boolean
-
Field Details
-
id
-
name
-
percent
protected float percent -
color
-
overlay
-
darkenScreen
protected boolean darkenScreen -
playBossMusic
protected boolean playBossMusic -
createWorldFog
protected boolean createWorldFog
-
-
Constructor Details
-
BossInfo
public BossInfo(UUID p_i46824_1_, ITextComponent p_i46824_2_, BossInfo.Color p_i46824_3_, BossInfo.Overlay p_i46824_4_)
-
-
Method Details
-
getId
-
getName
-
setName
-
getPercent
public float getPercent() -
setPercent
public void setPercent(float p_186735_1_) -
getColor
-
setColor
-
getOverlay
-
setOverlay
-
shouldDarkenScreen
public boolean shouldDarkenScreen() -
setDarkenScreen
-
shouldPlayBossMusic
public boolean shouldPlayBossMusic() -
setPlayBossMusic
-
setCreateWorldFog
-
shouldCreateWorldFog
public boolean shouldCreateWorldFog()
-