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