枚举的使用
org.bukkit.boss.BarStyle
使用BarStyle的程序包
- 
org.bukkit中BarStyle的使用参数类型为BarStyle的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中BarStyle的使用返回BarStyle的org.bukkit.boss中的方法修饰符和类型方法说明BossBar.getStyle()获取该Boss血条的样式.static BarStyle返回带有指定名称的该类型的枚举常量。static BarStyle[]BarStyle.values()按照声明该枚举类型的常量的顺序, 返回一个包含这些常量的数组。参数类型为BarStyle的org.bukkit.boss中的方法