枚举的使用
org.bukkit.entity.Wither.Head
-
org.bukkit.entity中Wither.Head的使用
修饰符和类型方法说明static Wither.Head
返回带有指定名称的该类型的枚举常量。static Wither.Head[]
Wither.Head.values()
按照声明该枚举类型的常量的顺序, 返回一个包含这些常量的数组。修饰符和类型方法说明Wither.getTarget
(@NotNull Wither.Head head) This method will get the target of individual headsWither.Head
of the wither.void
Wither.setTarget
(@NotNull Wither.Head head, @Nullable LivingEntity target) This method will set the target of individual headsWither.Head
of the wither.