Package | Description |
---|---|
org.bukkit |
The root package of the Bukkit API, contains generalized API classes.
|
Modifier and Type | Field and Description |
---|---|
static Registry<KeyedBossBar> |
Registry.BOSS_BARS
Custom boss bars.
|
Modifier and Type | Method and Description |
---|---|
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 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 @Nullable KeyedBossBar |
Bukkit.getBossBar(@NotNull NamespacedKey key)
Gets the
KeyedBossBar specified by this key. |
@Nullable KeyedBossBar |
Server.getBossBar(@NotNull NamespacedKey key)
Gets the
KeyedBossBar specified by this key. |
Copyright © 2021. All rights reserved.