Interface Cat.Type
- Enclosing interface:
Cat
-
Field Summary
Fields -
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.useRegistry.stream().
-
Field Details
-
ALL_BLACK
- Since:
- 1.14
-
BLACK
- Since:
- 1.14
-
BRITISH_SHORTHAIR
- Since:
- 1.14
-
CALICO
- Since:
- 1.14
-
JELLIE
- Since:
- 1.14
-
PERSIAN
- Since:
- 1.14
-
RAGDOLL
- Since:
- 1.14
-
RED
- Since:
- 1.14
-
SIAMESE
- Since:
- 1.14
-
TABBY
- Since:
- 1.14
-
WHITE
- Since:
- 1.14
-
-
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.useRegistry.stream().- Returns:
- an array of all known cat types.
-
Registry.get(NamespacedKey)instead.