mirror of
https://hub.spigotmc.org/stash/scm/spigot/bukkit.git
synced 2025-08-05 16:49:39 +00:00
#633: Add isTrusting/setTrusting to Ocelot.
This commit is contained in:
parent
70d24eb89a
commit
ecf35dd77a
1 changed files with 14 additions and 0 deletions
|
@ -9,6 +9,20 @@ import org.jetbrains.annotations.Nullable;
|
||||||
*/
|
*/
|
||||||
public interface Ocelot extends Animals {
|
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.
|
* Gets the current type of this cat.
|
||||||
*
|
*
|
||||||
|
|
Loading…
Add table
Reference in a new issue