Uses of Interface
org.bukkit.boss.KeyedBossBar
Package
Description
The root package of the Bukkit API, contains generalized API classes.
-
Uses of KeyedBossBar in org.bukkit
Modifier and TypeFieldDescriptionstatic Registry<KeyedBossBar>
Registry.BOSS_BARS
Custom boss bars.Modifier and TypeMethodDescriptionstatic @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.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 theKeyedBossBar
specified by this key.Server.getBossBar(@NotNull NamespacedKey key)
Gets theKeyedBossBar
specified by this key.Modifier and TypeMethodDescriptionstatic @NotNull Iterator<KeyedBossBar>
Bukkit.getBossBars()
Gets an unmodifiable iterator through all persistent bossbars.Server.getBossBars()
Gets an unmodifiable iterator through all persistent bossbars.