Interface Guardian

All Superinterfaces:
Attributable, CommandSender, Creature, Damageable, Entity, LivingEntity, Lootable, Metadatable, Mob, Monster, Nameable, Permissible, PersistentDataHolder, ProjectileSource, ServerOperator
All Known Subinterfaces:
ElderGuardian

public interface Guardian
extends Monster
  • Method Details

    • isElder

      @Deprecated boolean isElder()
      Deprecated.
      should check if instance of ElderGuardian.
      Check if the Guardian is an elder Guardian
      Returns:
      true if the Guardian is an Elder Guardian, false if not
    • setElder

      @Deprecated void setElder​(boolean shouldBeElder)
      Deprecated.
      Must spawn a new ElderGuardian.
      Parameters:
      shouldBeElder - shouldBeElder