#848: Mark get/setCatType methods deprecated in addition to the enum

This commit is contained in:
Jishuna 2023-04-10 08:24:05 +10:00 committed by md_5
parent aeb62aa331
commit de5ba4022d
No known key found for this signature in database
GPG key ID: E8E901AC7C617C11

View file

@ -27,15 +27,19 @@ public interface Ocelot extends Animals {
* Gets the current type of this cat.
*
* @return Type of the cat.
* @deprecated Cats are now a separate entity.
*/
@NotNull
@Deprecated
public Type getCatType();
/**
* Sets the current type of this cat.
*
* @param type New type of this cat.
* @deprecated Cats are now a separate entity.
*/
@Deprecated
public void setCatType(@NotNull Type type);
/**