summaryrefslogtreecommitdiffstats
path: root/src/main/java/org/bukkit/entity/Ocelot.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/org/bukkit/entity/Ocelot.java')
-rw-r--r--src/main/java/org/bukkit/entity/Ocelot.java15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/main/java/org/bukkit/entity/Ocelot.java b/src/main/java/org/bukkit/entity/Ocelot.java
index 90db8d61..fd6151b1 100644
--- a/src/main/java/org/bukkit/entity/Ocelot.java
+++ b/src/main/java/org/bukkit/entity/Ocelot.java
@@ -20,6 +20,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.
*/
public enum Type {