接口 Cat.Type
- 所有超级接口:
Comparable<Cat.Type>,Keyed,OldEnum<Cat.Type>,RegistryAware
- 封闭接口:
- Cat
代表了各种猫的品种.
Represents the various different cat types there are.
-
字段概要
字段 -
方法概要
修饰符和类型方法说明getKey()已过时。已过时。仅用于向后兼容,请使用Registry.get(NamespacedKey)代替。values()已过时。请使用Iterable.iterator()。从接口继承的方法 org.bukkit.registry.RegistryAware
getKeyOrNull, getKeyOrThrow, isRegistered
-
字段详细资料
-
TABBY
-
BLACK
-
RED
-
SIAMESE
-
BRITISH_SHORTHAIR
-
CALICO
-
PERSIAN
-
RAGDOLL
-
WHITE
-
JELLIE
-
ALL_BLACK
-
-
方法详细资料
-
getKey
已过时。键可能并不总是存在,请使用RegistryAware.getKeyOrThrow()代替。返回用于此对象的命名空间标识符.原文:Return the namespaced identifier for this object.
-
valueOf
已过时。仅用于向后兼容,请使用Registry.get(NamespacedKey)代替。- 参数:
name- 猫品种的名称。- 返回:
- 具有给定名称的猫品种。
-
values
已过时。请使用Iterable.iterator()。- 返回:
- 所有已知猫品种的数组。
-
RegistryAware.getKeyOrThrow()代替。