Made Ocelot implement isSitting() and setSitting(). Fixes BUKKIT-993
This commit is contained in:
parent
bc60e182cd
commit
101756dcc1
@ -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.
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user