Made Ocelot implement isSitting() and setSitting(). Fixes BUKKIT-993

By: EvilSeph <evilseph@gmail.com>
This commit is contained in:
Bukkit/Spigot 2012-03-09 15:01:28 -05:00
parent da80921d52
commit 2a716ddd7e

View file

@ -19,6 +19,21 @@ 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.
*/