mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-28 20:07:41 +01:00
#848: Mark get/setCatType methods deprecated in addition to the enum
By: Jishuna <joshl5324@gmail.com>
This commit is contained in:
parent
dba384ad97
commit
43b36e446e
@ -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);
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user