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