| Package | Description | 
|---|---|
| org.bukkit | 
 More generalized classes in the API. 
 | 
| org.bukkit.boss | 
 Classes concerning the creation of boss bars that appear at the top of the
 player's screen. 
 | 
| 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 | 
|---|---|---|
BarStyle | 
BossBar.getStyle() | 
 Returns the style of this boss bar 
 | 
static BarStyle | 
BarStyle.valueOf(String name) | 
 Returns the enum constant of this type with the specified name. 
 | 
static BarStyle[] | 
BarStyle.values() | 
 Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
| Modifier and Type | Method | Description | 
|---|---|---|
void | 
BossBar.setStyle(BarStyle style) | 
 Sets the bar style of this boss bar 
 | 
Copyright © 2020. All rights reserved.