public abstract class BossBar extends Object
Modifier and Type | Class and Description |
---|---|
static class |
BossBar.Color |
static class |
BossBar.Style |
Modifier and Type | Field and 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 and Description |
---|
BossBar(UUID uuid,
Text name,
BossBar.Color color,
BossBar.Style style) |
Modifier and Type | Method and Description |
---|---|
BossBar.Color |
getColor() |
boolean |
getDarkenSky() |
Text |
getName() |
BossBar.Style |
getOverlay() |
float |
getPercent() |
boolean |
getThickenFog() |
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) |
private final UUID uuid
protected Text name
protected float percent
protected BossBar.Color color
protected BossBar.Style style
protected boolean darkenSky
protected boolean dragonMusic
protected boolean thickenFog
public BossBar(UUID uuid, Text name, BossBar.Color color, BossBar.Style style)
public UUID getUuid()
public Text getName()
public void setName(Text name)
public float getPercent()
public void setPercent(float percentage)
public BossBar.Color getColor()
public void setColor(BossBar.Color color)
public BossBar.Style getOverlay()
public void setOverlay(BossBar.Style style)
public boolean getDarkenSky()
public BossBar setDarkenSky(boolean darkenSky)
public boolean hasDragonMusic()
public BossBar setDragonMusic(boolean dragonMusic)
public BossBar setThickenFog(boolean thickenFog)
public boolean getThickenFog()