| Package | Description | 
|---|---|
| org.bukkit | More generalized classes in the API. | 
| Modifier and Type | Field | Description | 
|---|---|---|
| static Registry<KeyedBossBar> | Registry. BOSS_BARS | Custom boss bars. | 
| Modifier and Type | Method | Description | 
|---|---|---|
| static KeyedBossBar | Bukkit. createBossBar(NamespacedKey key,
             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. | 
| static KeyedBossBar | Bukkit. getBossBar(NamespacedKey key) | Gets the  KeyedBossBarspecified by this key. | 
| KeyedBossBar | Server. getBossBar(NamespacedKey key) | Gets the  KeyedBossBarspecified by this key. | 
| Modifier and Type | Method | Description | 
|---|---|---|
| static Iterator<KeyedBossBar> | Bukkit. getBossBars() | Gets an unmodifiable iterator through all persistent bossbars. | 
| Iterator<KeyedBossBar> | Server. getBossBars() | Gets an unmodifiable iterator through all persistent bossbars. | 
Copyright © 2020. All rights reserved.