13
0
geforkt von Mirrors/Paper

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

By: EvilSeph <evilseph@gmail.com>
Dieser Commit ist enthalten in:
Bukkit/Spigot 2012-03-09 15:01:28 -05:00
Ursprung da80921d52
Commit 2a716ddd7e

Datei anzeigen

@ -19,6 +19,21 @@ public interface Ocelot extends Animals, Tameable {
*/ */
public void setCatType(Type type); 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. * Represents the various different cat types there are.
*/ */