Package org.bukkit.entity
Interface Cat.Type
- All Superinterfaces:
Comparable<Cat.Type>
,Keyed
,OldEnum<Cat.Type>
- Enclosing interface:
Cat
Represents the various different cat types there are.
-
Field Summary
-
Method Summary
-
Field Details
-
TABBY
-
BLACK
-
RED
-
SIAMESE
-
BRITISH_SHORTHAIR
-
CALICO
-
PERSIAN
-
RAGDOLL
-
WHITE
-
JELLIE
-
ALL_BLACK
-
-
Method Details
-
valueOf
Deprecated.only for backwards compatibility, useRegistry.get(NamespacedKey)
instead.- Parameters:
name
- of the cat type.- Returns:
- the cat type with the given name.
-
values
Deprecated.useIterable.iterator()
.- Returns:
- an array of all known cat types.
-
Registry.get(NamespacedKey)
instead.