枚举的使用
org.bukkit.entity.Ocelot.Type
使用Ocelot.Type的程序包
-
org.bukkit.entity中Ocelot.Type的使用
返回Ocelot.Type的org.bukkit.entity中的方法修饰符和类型方法说明Ocelot.getCatType()已过时。猫现在是单独的实体static @Nullable Ocelot.TypeOcelot.Type.getType(int id) 已过时。不安全的参数static Ocelot.Type已过时。返回带有指定名称的该类型的枚举常量。static Ocelot.Type[]Ocelot.Type.values()已过时。按照声明该枚举类型的常量的顺序, 返回一个包含这些常量的数组。参数类型为Ocelot.Type的org.bukkit.entity中的方法