geforkt von Mirrors/Paper
Made Ocelot implement isSitting() and setSitting(). Fixes BUKKIT-993
By: EvilSeph <evilseph@gmail.com>
Dieser Commit ist enthalten in:
Ursprung
da80921d52
Commit
2a716ddd7e
@ -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.
|
||||||
*/
|
*/
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren