枚举的使用
org.bukkit.entity.MushroomCow.Variant
使用MushroomCow.Variant的程序包
-
org.bukkit.entity中MushroomCow.Variant的使用
修饰符和类型方法说明MushroomCow.getVariant()
Get the variant of this cow.static MushroomCow.Variant
返回带有指定名称的该类型的枚举常量。static MushroomCow.Variant[]
MushroomCow.Variant.values()
按照声明该枚举类型的常量的顺序, 返回一个包含这些常量的数组。参数类型为MushroomCow.Variant的org.bukkit.entity中的方法修饰符和类型方法说明void
MushroomCow.setVariant
(@NotNull MushroomCow.Variant variant) Set the variant of this cow.