| 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 and Description | 
|---|---|
@NotNull BossBar | 
Server.createBossBar(@Nullable String title,
             @NotNull BarColor color,
             @NotNull BarStyle style,
             BarFlag... flags)
Creates a boss bar instance to display to players. 
 | 
static @NotNull BossBar | 
Bukkit.createBossBar(@Nullable String title,
             @NotNull BarColor color,
             @NotNull BarStyle style,
             BarFlag... flags)
Creates a boss bar instance to display to players. 
 | 
| Modifier and Type | Interface and Description | 
|---|---|
interface  | 
KeyedBossBar
Represents a custom  
BossBar that has a
 NamespacedKey | 
| Modifier and Type | Method and Description | 
|---|---|
@NotNull BossBar | 
DragonBattle.getBossBar()
Get the boss bar to be displayed for this dragon battle. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
@Nullable BossBar | 
Boss.getBossBar()
 | 
Copyright © 2022. All rights reserved.