| Package | Description |
|---|---|
| org.bukkit |
The root package of the Bukkit API, contains generalized API classes.
|
| org.bukkit.boss |
Classes concerning the creation of boss bars that appear at the top of the
player's screen.
|
| org.bukkit.entity |
Interfaces for non-voxel objects that can exist in a
world, including all players, monsters, projectiles, etc. |
| Modifier and Type | Method | Description |
|---|---|---|
static @NotNull BossBar |
Bukkit.createBossBar(@Nullable String title,
@NotNull BarColor color,
@NotNull BarStyle style,
@NotNull BarFlag... flags) |
Creates a boss bar instance to display to players.
|
@NotNull BossBar |
Server.createBossBar(@Nullable String title,
@NotNull BarColor color,
@NotNull BarStyle style,
@NotNull BarFlag... flags) |
Creates a boss bar instance to display to players.
|
| Modifier and Type | Interface | Description |
|---|---|---|
interface |
KeyedBossBar |
Represents a custom
BossBar that has a
NamespacedKey |
| Modifier and Type | Method | Description |
|---|---|---|
@NotNull BossBar |
DragonBattle.getBossBar() |
Get the boss bar to be displayed for this dragon battle.
|
| Modifier and Type | Method | Description |
|---|---|---|
@Nullable BossBar |
Boss.getBossBar() |
Copyright © 2020. All rights reserved.