枚举的使用
org.bukkit.boss.BarFlag
使用BarFlag的程序包
- 
org.bukkit中BarFlag的使用参数类型为BarFlag的org.bukkit中的方法修饰符和类型方法说明static @NotNull KeyedBossBarBukkit.createBossBar(@NotNull NamespacedKey key, @Nullable String title, @NotNull BarColor color, @NotNull BarStyle style, @NotNull BarFlag... flags) 创建一个Boss血量条实例.Bukkit.createBossBar(@Nullable String title, @NotNull BarColor color, @NotNull BarStyle style, @NotNull BarFlag... flags) 创建一个Boss血量条实例.Server.createBossBar(@NotNull NamespacedKey key, @Nullable String title, @NotNull BarColor color, @NotNull BarStyle style, @NotNull BarFlag... flags) 创建一个Boss血量条实例.Server.createBossBar(@Nullable String title, @NotNull BarColor color, @NotNull BarStyle style, @NotNull BarFlag... flags) 创建一个Boss血量条实例.
- 
org.bukkit.boss中BarFlag的使用返回BarFlag的org.bukkit.boss中的方法修饰符和类型方法说明static BarFlag返回带有指定名称的该类型的枚举常量。static BarFlag[]BarFlag.values()按照声明该枚举类型的常量的顺序, 返回一个包含这些常量的数组。参数类型为BarFlag的org.bukkit.boss中的方法