接口 Cat.Type
- 所有超级接口:
Comparable<Cat.Type>
,Keyed
,OldEnum<Cat.Type>
,RegistryAware
- 封闭接口:
- Cat
代表了各种猫的品种.
Represents the various different cat types there are.
-
字段概要
字段 -
方法概要
修饰符和类型方法说明getKey()
已过时。已过时。only for backwards compatibility, useRegistry.get(NamespacedKey)
instead.values()
已过时。useIterable.iterator()
.从接口继承的方法 org.bukkit.registry.RegistryAware
getKeyOrNull, getKeyOrThrow, isRegistered
-
字段详细资料
-
TABBY
-
BLACK
-
RED
-
SIAMESE
-
BRITISH_SHORTHAIR
-
CALICO
-
PERSIAN
-
RAGDOLL
-
WHITE
-
JELLIE
-
ALL_BLACK
-
-
方法详细资料
-
getKey
已过时。A key might not always be present, useRegistryAware.getKeyOrThrow()
instead.返回用于此对象的命名空间标识符.原文:Return the namespaced identifier for this object.
-
valueOf
已过时。only for backwards compatibility, useRegistry.get(NamespacedKey)
instead.- 参数:
name
- of the cat type.- 返回:
- the cat type with the given name.
-
values
已过时。useIterable.iterator()
.- 返回:
- an array of all known cat types.
-
RegistryAware.getKeyOrThrow()
instead.