SPIGOT-3246: Use Sittable for Ocelot, Wolf and Parrot
By: BlackHole <black-hole@live.com>
This commit is contained in:
@@ -4,7 +4,7 @@ package org.bukkit.entity;
|
||||
/**
|
||||
* A wild tameable cat
|
||||
*/
|
||||
public interface Ocelot extends Animals, Tameable {
|
||||
public interface Ocelot extends Animals, Tameable, Sittable {
|
||||
|
||||
/**
|
||||
* Gets the current type of this cat.
|
||||
@@ -20,21 +20,6 @@ public interface Ocelot extends Animals, Tameable {
|
||||
*/
|
||||
public void setCatType(Type type);
|
||||
|
||||
/**
|
||||
* Checks if this ocelot is sitting
|
||||
*
|
||||
* @return true if sitting
|
||||
*/
|
||||
public boolean isSitting();
|
||||
|
||||
/**
|
||||
* Sets if this ocelot is sitting. Will remove any path that the ocelot
|
||||
* was following beforehand.
|
||||
*
|
||||
* @param sitting true if sitting
|
||||
*/
|
||||
public void setSitting(boolean sitting);
|
||||
|
||||
/**
|
||||
* Represents the various different cat types there are.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user