Uses of Enum Class
org.bukkit.boss.BarFlag
Package
Description
The root package of the Bukkit API, contains generalized API classes.
Classes concerning the creation of boss bars that appear at the top of the
player's screen.
-
Uses of BarFlag in org.bukkit
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.Bukkit.createBossBar
(@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.Server.createBossBar
(@Nullable String title, @NotNull BarColor color, @NotNull BarStyle style, @NotNull BarFlag... flags) Creates a boss bar instance to display to players. -
Uses of BarFlag in org.bukkit.boss
Modifier and TypeMethodDescriptionstatic BarFlag
Returns the enum constant of this class with the specified name.static BarFlag[]
BarFlag.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionvoid
Add an optional flag to this boss barboolean
Returns whether this boss bar as the passed flag setvoid
BossBar.removeFlag
(@NotNull BarFlag flag) Remove an existing flag on this boss bar