diff --git a/src/main/java/org/bukkit/entity/Ocelot.java b/src/main/java/org/bukkit/entity/Ocelot.java index c20b8e55..62a701f3 100644 --- a/src/main/java/org/bukkit/entity/Ocelot.java +++ b/src/main/java/org/bukkit/entity/Ocelot.java @@ -9,6 +9,20 @@ import org.jetbrains.annotations.Nullable; */ public interface Ocelot extends Animals { + /** + * Checks if this ocelot trusts players. + * + * @return true if it trusts players + */ + public boolean isTrusting(); + + /** + * Sets if this ocelot trusts players. + * + * @param trust true if it trusts players + */ + public void setTrusting(boolean trust); + /** * Gets the current type of this cat. *