Uses of Class
org.bukkit.boss.BarColor
Package | Description |
---|---|
org.bukkit |
The root package of the Bukkit API, contains generalized API classes.
|
org.bukkit.boss |
Classes concerning the creation of boss bars that appear at the top of the
player's screen.
|
-
Uses of BarColor in org.bukkit
Methods in org.bukkit with parameters of type BarColor Modifier and Type Method Description static BossBar
Bukkit. createBossBar(String title, BarColor color, BarStyle style, BarFlag... flags)
Creates a boss bar instance to display to players.static KeyedBossBar
Bukkit. createBossBar(NamespacedKey key, String title, BarColor color, BarStyle style, BarFlag... flags)
Creates a boss bar instance to display to players.BossBar
Server. createBossBar(String title, BarColor color, BarStyle style, BarFlag... flags)
Creates a boss bar instance to display to players.KeyedBossBar
Server. createBossBar(NamespacedKey key, String title, BarColor color, BarStyle style, BarFlag... flags)
Creates a boss bar instance to display to players. -
Uses of BarColor in org.bukkit.boss
Methods in org.bukkit.boss that return BarColor Modifier and Type Method Description BarColor
BossBar. getColor()
Returns the color of this boss barstatic BarColor
BarColor. valueOf(String name)
Returns the enum constant of this type with the specified name.static BarColor[]
BarColor. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.bukkit.boss with parameters of type BarColor Modifier and Type Method Description void
BossBar. setColor(BarColor color)
Sets the color of this boss bar.