Class CondAI

All Implemented Interfaces:
Debuggable, SyntaxElement, Checker<org.bukkit.entity.LivingEntity>

@Name("Has AI") @Description("Checks whether an entity has AI.") @Examples("target entity has ai") @Since("2.5") public class CondAI extends PropertyCondition<org.bukkit.entity.LivingEntity>
  • Constructor Details

    • CondAI

      public CondAI()
  • Method Details

    • check

      public boolean check(org.bukkit.entity.LivingEntity entity)
      Specified by:
      check in interface Checker<org.bukkit.entity.LivingEntity>
      Specified by:
      check in class PropertyCondition<org.bukkit.entity.LivingEntity>
    • getPropertyName

      protected String getPropertyName()
      Specified by:
      getPropertyName in class PropertyCondition<org.bukkit.entity.LivingEntity>