Package org.bukkit.entity
Interface Cat.Type
- All Superinterfaces:
- Comparable<Cat.Type>,- Keyed,- OldEnum<Cat.Type>,- RegistryAware
- Enclosing interface:
- Cat
Represents the various different cat types there are.
- 
Field SummaryFields
- 
Method SummaryModifier and TypeMethodDescriptiongetKey()Deprecated.static Cat.TypeDeprecated.only for backwards compatibility, useRegistry.get(NamespacedKey)instead.static Cat.Type[]values()Deprecated.useIterable.iterator().Methods inherited from interface org.bukkit.registry.RegistryAwaregetKeyOrNull, getKeyOrThrow, isRegistered
- 
Field Details- 
TABBY
- 
BLACK
- 
RED
- 
SIAMESE
- 
BRITISH_SHORTHAIR
- 
CALICO
- 
PERSIAN
- 
RAGDOLL
- 
WHITE
- 
JELLIE
- 
ALL_BLACK
 
- 
- 
Method Details- 
getKeyDeprecated.A key might not always be present, useRegistryAware.getKeyOrThrow()instead.Return the namespaced identifier for this object.
- 
valueOfDeprecated.only for backwards compatibility, useRegistry.get(NamespacedKey)instead.- Parameters:
- name- of the cat type.
- Returns:
- the cat type with the given name.
 
- 
valuesDeprecated.useIterable.iterator().- Returns:
- an array of all known cat types.
 
 
- 
RegistryAware.getKeyOrThrow()instead.