Package org.bukkit.entity
Interface Cat.Type
- Enclosing interface:
Cat
Represents the various different cat types there are.
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated, for removal: This API element is subject to removal in a future version.values()
Deprecated, for removal: This API element is subject to removal in a future version.useIterable.iterator()
.
-
Field Details
-
TABBY
-
BLACK
-
RED
-
SIAMESE
-
BRITISH_SHORTHAIR
-
CALICO
-
PERSIAN
-
RAGDOLL
-
WHITE
-
JELLIE
-
ALL_BLACK
-
-
Method Details
-
valueOf
@NotNull @Deprecated(since="1.21", forRemoval=true) @ScheduledForRemoval(inVersion="1.22") static @NotNull Cat.Type valueOf(@NotNull @NotNull String name) Deprecated, for removal: This API element is subject to removal in a future version.only for backwards compatibility, useRegistry.get(NamespacedKey)
instead.- Parameters:
name
- of the cat type.- Returns:
- the cat type with the given name.
-
values
@NotNull @Deprecated(since="1.21", forRemoval=true) @ScheduledForRemoval(inVersion="1.22") static @NotNull Cat.Type[] values()Deprecated, for removal: This API element is subject to removal in a future version.useIterable.iterator()
.- Returns:
- an array of all known cat types.
-
Registry.get(NamespacedKey)
instead.