
org.bukkit.entity.Guardian Maven / Gradle / Ivy
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
*/
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
*/
void setElder(boolean shouldBeElder);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy