| Package | Description | 
|---|---|
| org.bukkit | The root package of the Bukkit API, contains generalized API classes. | 
| Modifier and Type | Field | Description | 
|---|---|---|
| static Registry<KeyedBossBar> | Registry. BOSS_BARS | Custom boss bars. | 
| Modifier and Type | Method | Description | 
|---|---|---|
| static @NotNull KeyedBossBar | Bukkit. createBossBar(@NotNull NamespacedKey key,
             @Nullable String title,
             @NotNull BarColor color,
             @NotNull BarStyle style,
             @NotNull BarFlag... flags) | Creates a boss bar instance to display to players. | 
| @NotNull KeyedBossBar | Server. createBossBar(@NotNull NamespacedKey key,
             @Nullable String title,
             @NotNull BarColor color,
             @NotNull BarStyle style,
             @NotNull BarFlag... flags) | Creates a boss bar instance to display to players. | 
| static @Nullable KeyedBossBar | Bukkit. getBossBar(@NotNull NamespacedKey key) | Gets the  KeyedBossBarspecified by this key. | 
| @Nullable KeyedBossBar | Server. getBossBar(@NotNull NamespacedKey key) | Gets the  KeyedBossBarspecified by this key. | 
| Modifier and Type | Method | Description | 
|---|---|---|
| static @NotNull Iterator<KeyedBossBar> | Bukkit. getBossBars() | Gets an unmodifiable iterator through all persistent bossbars. | 
| @NotNull Iterator<KeyedBossBar> | Server. getBossBars() | Gets an unmodifiable iterator through all persistent bossbars. | 
Copyright © 2020. All rights reserved.