mirror of
https://github.com/PaperMC/Paper.git
synced 2025-03-02 11:22:01 +01:00
#633: Add isTrusting/setTrusting to Ocelot.
By: Ibrahim Ansari <ansari.ibrahim1@gmail.com>
This commit is contained in:
parent
36f10a3e42
commit
3835d0824b
@ -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.
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user