From 43b36e446e3827623cff39c265b436371be6863f Mon Sep 17 00:00:00 2001 From: Bukkit/Spigot Date: Mon, 10 Apr 2023 08:24:05 +1000 Subject: [PATCH] #848: Mark get/setCatType methods deprecated in addition to the enum By: Jishuna --- paper-api/src/main/java/org/bukkit/entity/Ocelot.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/paper-api/src/main/java/org/bukkit/entity/Ocelot.java b/paper-api/src/main/java/org/bukkit/entity/Ocelot.java index 62a701f35a..35f970ca47 100644 --- a/paper-api/src/main/java/org/bukkit/entity/Ocelot.java +++ b/paper-api/src/main/java/org/bukkit/entity/Ocelot.java @@ -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); /**