Interface Guardian

All Superinterfaces:
CommandSender, Creature, Damageable, Entity, LivingEntity, Metadatable, Monster, Permissible, ProjectileSource, ServerOperator

public interface Guardian
extends Monster
  • Method Details

    • isElder

      boolean isElder()
      Check if the Guardian is an elder Guardian
      Returns:
      true if the Guardian is an Elder Guardian, false if not
    • setElder

      void setElder​(boolean shouldBeElder)
      Set the Guardian to an elder Guardian or not
      Parameters:
      shouldBeElder - True if this Guardian should be a elder Guardian, false if not