diff options
Diffstat (limited to 'src/main/java/org')
-rw-r--r-- | src/main/java/org/bukkit/entity/Guardian.java | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/main/java/org/bukkit/entity/Guardian.java b/src/main/java/org/bukkit/entity/Guardian.java index 2b2f496b..83440a43 100644 --- a/src/main/java/org/bukkit/entity/Guardian.java +++ b/src/main/java/org/bukkit/entity/Guardian.java @@ -1,4 +1,16 @@ package org.bukkit.entity; public interface Guardian extends Monster { + + /** + * Check if the Guardian is an elder Guardian + * @return true if the Guardian is an Elder Guardian, false if not + */ + public boolean isElder(); + + /** + * Set the Guardian to an elder Guardian or not + * @param shouldBeElder True if this Guardian should be a elder Guardian, false if not + */ + public void setElder(boolean shouldBeElder); } |