接口的使用
org.bukkit.boss.KeyedBossBar
使用KeyedBossBar的程序包
- 
org.bukkit中KeyedBossBar的使用类型参数类型为KeyedBossBar的org.bukkit中的字段修饰符和类型字段说明static final Registry<KeyedBossBar>Registry.BOSS_BARS已过时。BossBar has no real server-side registry.返回KeyedBossBar的org.bukkit中的方法修饰符和类型方法说明static @NotNull KeyedBossBarBukkit.createBossBar(@NotNull NamespacedKey key, @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血量条实例.static @Nullable KeyedBossBarBukkit.getBossBar(@NotNull NamespacedKey key) Gets theKeyedBossBarspecified by this key.Server.getBossBar(@NotNull NamespacedKey key) Gets theKeyedBossBarspecified by this key.返回变量类型为KeyedBossBar的类型的org.bukkit中的方法修饰符和类型方法说明static @NotNull Iterator<KeyedBossBar>Bukkit.getBossBars()获取一个不可编辑的用于迭代所有持久存储的boss血量条的迭代器.Server.getBossBars()获取一个不可编辑的用于迭代所有持久存储的boss血量条的迭代器.