Package | Description |
---|---|
org.bukkit |
More generalized classes in the API.
|
org.bukkit.boss |
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.
|
Modifier and Type | Method | Description |
---|---|---|
static BarFlag |
BarFlag.valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static BarFlag[] |
BarFlag.values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method | Description |
---|---|---|
void |
BossBar.addFlag(BarFlag flag) |
Add an optional flag to this boss bar
|
boolean |
BossBar.hasFlag(BarFlag flag) |
Returns whether this boss bar as the passed flag set
|
void |
BossBar.removeFlag(BarFlag flag) |
Remove an existing flag on this boss bar
|
Copyright © 2019. All rights reserved.