#633: Add isTrusting/setTrusting to Ocelot.

By: Ibrahim Ansari <ansari.ibrahim1@gmail.com>
This commit is contained in:
Bukkit/Spigot 2021-06-21 08:40:18 +10:00
parent 36f10a3e42
commit 3835d0824b

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