#633: Add isTrusting/setTrusting to Ocelot.
By: Ibrahim Ansari <ansari.ibrahim1@gmail.com>
This commit is contained in:
@@ -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.
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in New Issue
Block a user