Package | Description |
---|---|
org.bukkit |
More generalized classes in the API.
|
org.bukkit.boss |
Modifier and Type | Method and Description |
---|---|
static BossBar |
Bukkit.createBossBar(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.
|
Modifier and Type | Method and Description |
---|---|
BarColor |
BossBar.getColor()
Returns the color of this boss bar
|
static 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.
|
Modifier and Type | Method and Description |
---|---|
void |
BossBar.setColor(BarColor color)
Sets the color of this boss bar.
|
Copyright © 2021. All rights reserved.