public abstract class BossInfo
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
BossInfo.Color |
static class |
BossInfo.Overlay |
Modifier and Type | Field and Description |
---|---|
protected BossInfo.Color |
color |
protected boolean |
createFog |
protected boolean |
darkenSky |
protected ITextComponent |
name |
protected BossInfo.Overlay |
overlay |
protected float |
percent |
protected boolean |
playEndBossMusic |
private java.util.UUID |
uniqueId |
Constructor and Description |
---|
BossInfo(java.util.UUID uniqueIdIn,
ITextComponent nameIn,
BossInfo.Color colorIn,
BossInfo.Overlay overlayIn) |
Modifier and Type | Method and Description |
---|---|
BossInfo.Color |
getColor() |
ITextComponent |
getName() |
BossInfo.Overlay |
getOverlay() |
float |
getPercent() |
java.util.UUID |
getUniqueId() |
void |
setColor(BossInfo.Color colorIn) |
BossInfo |
setCreateFog(boolean createFogIn) |
BossInfo |
setDarkenSky(boolean darkenSkyIn) |
void |
setName(ITextComponent nameIn) |
void |
setOverlay(BossInfo.Overlay overlayIn) |
void |
setPercent(float percentIn) |
BossInfo |
setPlayEndBossMusic(boolean playEndBossMusicIn) |
boolean |
shouldCreateFog() |
boolean |
shouldDarkenSky() |
boolean |
shouldPlayEndBossMusic() |
private final java.util.UUID uniqueId
protected ITextComponent name
protected float percent
protected BossInfo.Color color
protected BossInfo.Overlay overlay
protected boolean darkenSky
protected boolean playEndBossMusic
protected boolean createFog
public BossInfo(java.util.UUID uniqueIdIn, ITextComponent nameIn, BossInfo.Color colorIn, BossInfo.Overlay overlayIn)
public java.util.UUID getUniqueId()
public ITextComponent getName()
public void setName(ITextComponent nameIn)
public float getPercent()
public void setPercent(float percentIn)
public BossInfo.Color getColor()
public void setColor(BossInfo.Color colorIn)
public BossInfo.Overlay getOverlay()
public void setOverlay(BossInfo.Overlay overlayIn)
public boolean shouldDarkenSky()
public BossInfo setDarkenSky(boolean darkenSkyIn)
public boolean shouldPlayEndBossMusic()
public BossInfo setPlayEndBossMusic(boolean playEndBossMusicIn)
public BossInfo setCreateFog(boolean createFogIn)
public boolean shouldCreateFog()