Package | Description |
---|---|
org.bukkit |
More generalized classes in the API.
|
Modifier and Type | Field and Description |
---|---|
static Registry<KeyedBossBar> |
Registry.BOSS_BARS
Custom boss bars.
|
Modifier and Type | Method and Description |
---|---|
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.createBossBar(NamespacedKey key,
String title,
BarColor color,
BarStyle style,
BarFlag... flags)
Creates a boss bar instance to display to players.
|
KeyedBossBar |
Server.getBossBar(NamespacedKey key)
Gets the
KeyedBossBar specified by this key. |
static KeyedBossBar |
Bukkit.getBossBar(NamespacedKey key)
Gets the
KeyedBossBar specified by this key. |
Modifier and Type | Method and Description |
---|---|
Iterator<KeyedBossBar> |
Server.getBossBars()
Gets an unmodifiable iterator through all persistent bossbars.
|
static Iterator<KeyedBossBar> |
Bukkit.getBossBars()
Gets an unmodifiable iterator through all persistent bossbars.
|
Copyright © 2022. All rights reserved.