mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-08 19:34:09 +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);
|
||||
|
||||
/**
|
||||
* 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…
Reference in a new issue