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

By: Jishuna <joshl5324@gmail.com>
This commit is contained in:
Bukkit/Spigot 2023-04-10 08:24:05 +10:00
parent dba384ad97
commit 43b36e446e

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);
/**