| 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. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
@NotNull KeyedBossBar | 
Server.createBossBar(@NotNull NamespacedKey key,
             @Nullable String title,
             @NotNull BarColor color,
             @NotNull BarStyle style,
             BarFlag... flags)
Creates a boss bar instance to display to players. 
 | 
static @NotNull KeyedBossBar | 
Bukkit.createBossBar(@NotNull NamespacedKey key,
             @Nullable String title,
             @NotNull BarColor color,
             @NotNull BarStyle style,
             BarFlag... flags)
Creates a boss bar instance to display to players. 
 | 
@NotNull BossBar | 
Server.createBossBar(@Nullable String title,
             @NotNull BarColor color,
             @NotNull BarStyle style,
             BarFlag... flags)
Creates a boss bar instance to display to players. 
 | 
static @NotNull BossBar | 
Bukkit.createBossBar(@Nullable String title,
             @NotNull BarColor color,
             @NotNull BarStyle style,
             BarFlag... flags)
Creates a boss bar instance to display to players. 
 | 
| Modifier and Type | Method and 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 and Description | 
|---|---|
void | 
BossBar.addFlag(@NotNull BarFlag flag)
Add an optional flag to this boss bar 
 | 
boolean | 
BossBar.hasFlag(@NotNull BarFlag flag)
Returns whether this boss bar as the passed flag set 
 | 
void | 
BossBar.removeFlag(@NotNull BarFlag flag)
Remove an existing flag on this boss bar 
 | 
Copyright © 2021. All rights reserved.