Commits

coll1234567 authored and md_5 committed de5ba4022d0
#848: Mark get/setCatType methods deprecated in addition to the enum
No tags

src/main/java/org/bukkit/entity/Ocelot.java

Modified
20 20 * Sets if this ocelot trusts players.
21 21 *
22 22 * @param trust true if it trusts players
23 23 */
24 24 public void setTrusting(boolean trust);
25 25
26 26 /**
27 27 * Gets the current type of this cat.
28 28 *
29 29 * @return Type of the cat.
30 + * @deprecated Cats are now a separate entity.
30 31 */
31 32 @NotNull
33 + @Deprecated
32 34 public Type getCatType();
33 35
34 36 /**
35 37 * Sets the current type of this cat.
36 38 *
37 39 * @param type New type of this cat.
40 + * @deprecated Cats are now a separate entity.
38 41 */
42 + @Deprecated
39 43 public void setCatType(@NotNull Type type);
40 44
41 45 /**
42 46 * Represents the various different cat types there are.
43 47 *
44 48 * @deprecated Cats are now a separate entity.
45 49 */
46 50 @Deprecated
47 51 public enum Type {
48 52 WILD_OCELOT(0),

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut