接口的使用
org.bukkit.boss.KeyedBossBar
使用KeyedBossBar的程序包
-
org.bukkit中KeyedBossBar的使用
类型参数类型为KeyedBossBar的org.bukkit中的字段返回KeyedBossBar的org.bukkit中的方法修饰符和类型方法说明static @NotNull KeyedBossBar
Bukkit.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 KeyedBossBar
Bukkit.getBossBar
(@NotNull NamespacedKey key) Gets theKeyedBossBar
specified by this key.Server.getBossBar
(@NotNull NamespacedKey key) Gets theKeyedBossBar
specified by this key.返回变量类型为KeyedBossBar的类型的org.bukkit中的方法修饰符和类型方法说明static @NotNull Iterator<KeyedBossBar>
Bukkit.getBossBars()
获取一个不可编辑的用于迭代所有持久存储的boss血量条的迭代器.Server.getBossBars()
获取一个不可编辑的用于迭代所有持久存储的boss血量条的迭代器.