public interface BossBar
Modifier and Type | Interface and Description |
---|---|
static class |
BossBar.Color |
Modifier and Type | Method and Description |
---|---|
void |
addPlayer(org.bukkit.entity.Player player)
Display this boss-bar to a player.
|
double |
getProgress()
Get the progress bar of this boss-bar.
|
void |
removeAll()
Stop displaying this boss-bar to all the players.
|
void |
setProgress(double progress)
Set the progress bar of this boss-bar.
|
void addPlayer(org.bukkit.entity.Player player)
player
- The player to display the boss-bar to.void removeAll()
void setProgress(double progress)
progress
- The progress to set.double getProgress()