21f13cb0ef
By: Thinkofdeath <thinkofdeath@spigotmc.org>
19 lines
466 B
Java
19 lines
466 B
Java
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);
|
|
}
|