Uses of Enum Class
org.bukkit.boss.BarFlag
Packages that use 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
Methods in org.bukkit with parameters of type BarFlagModifier 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
Methods in org.bukkit.boss that return BarFlagModifier 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.Methods in org.bukkit.boss with parameters of type BarFlagModifier 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