mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-24 09:16:06 +01:00
Made Ocelot implement isSitting() and setSitting(). Fixes BUKKIT-993
By: EvilSeph <evilseph@gmail.com>
This commit is contained in:
parent
da80921d52
commit
2a716ddd7e
1 changed files with 15 additions and 0 deletions
|
@ -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.
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Add table
Reference in a new issue