@@ -60,7 +60,9 @@ public interface Ocelot extends Animals, Tameable {
|
||||
* Gets the ID of this cat type.
|
||||
*
|
||||
* @return Type ID.
|
||||
* @deprecated Magic value
|
||||
*/
|
||||
@Deprecated
|
||||
public int getId() {
|
||||
return id;
|
||||
}
|
||||
@@ -70,7 +72,9 @@ public interface Ocelot extends Animals, Tameable {
|
||||
*
|
||||
* @param id ID of the cat type to get.
|
||||
* @return Resulting type, or null if not found.
|
||||
* @deprecated Magic value
|
||||
*/
|
||||
@Deprecated
|
||||
public static Type getType(int id) {
|
||||
return (id >= types.length) ? null : types[id];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user