Interface Guardian

All Superinterfaces:
Attributable, net.kyori.adventure.audience.Audience, CommandSender, Creature, Damageable, Entity, net.kyori.adventure.text.event.HoverEventSource<net.kyori.adventure.text.event.HoverEvent.ShowEntity>, LivingEntity, Lootable, Metadatable, Mob, Monster, Nameable, Permissible, PersistentDataHolder, net.kyori.adventure.pointer.Pointered, 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