Uses of Class
org.bukkit.boss.BarFlag
-
Packages that use BarFlag 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. -
-
Uses of BarFlag in org.bukkit
Methods in org.bukkit with parameters of type BarFlag Modifier and Type Method Description static @NotNull KeyedBossBarBukkit. 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.static @NotNull BossBarBukkit. createBossBar(@Nullable String title, @NotNull BarColor color, @NotNull BarStyle style, @NotNull BarFlag... flags)Creates a boss bar instance to display to players.@NotNull KeyedBossBarServer. 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.@NotNull BossBarServer. 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 BarFlag Modifier and Type Method Description static BarFlagBarFlag. valueOf(String name)Returns the enum constant of this type with the specified name.static BarFlag[]BarFlag. values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.bukkit.boss with parameters of type BarFlag Modifier and Type Method Description voidBossBar. addFlag(@NotNull BarFlag flag)Add an optional flag to this boss barbooleanBossBar. hasFlag(@NotNull BarFlag flag)Returns whether this boss bar as the passed flag setvoidBossBar. removeFlag(@NotNull BarFlag flag)Remove an existing flag on this boss bar
-