#633: Add isTrusting/setTrusting to Ocelot.

This commit is contained in:
Ibrahim Ansari 2021-06-21 08:40:18 +10:00 committed by md_5
parent 70d24eb89a
commit ecf35dd77a
No known key found for this signature in database
GPG key ID: E8E901AC7C617C11

View file

@ -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.
*