mirror of
https://hub.spigotmc.org/stash/scm/spigot/bukkit.git
synced 2025-08-21 05:44:17 +00:00
API for getting/setting a elder Guardian
This commit is contained in:
parent
7a6bcd7386
commit
a87f00c0c8
1 changed files with 12 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue