Class CondIsPoisoned

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

@Name("Is Poisoned") @Description("Checks whether an entity is poisoned.") @Examples({"player is poisoned:","\tcure the player from poison","\tmessage \"You have been cured!\""}) @Since("1.4.4") public class CondIsPoisoned extends PropertyCondition<org.bukkit.entity.LivingEntity>
  • Constructor Details

    • CondIsPoisoned

      public CondIsPoisoned()
  • Method Details

    • check

      public boolean check(org.bukkit.entity.LivingEntity e)
      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>