java.lang.Object
ch.njol.skript.lang.TriggerItem
ch.njol.skript.lang.Statement
ch.njol.skript.lang.Condition
ch.njol.skript.conditions.base.PropertyCondition<org.bukkit.entity.LivingEntity>
org.skriptlang.skript.bukkit.potion.elements.conditions.CondIsPoisoned
All Implemented Interfaces:
Debuggable, Simplifiable<Condition>, SyntaxElement, Predicate<org.bukkit.entity.LivingEntity>, Conditional<org.bukkit.event.Event>, RuntimeErrorProducer, SyntaxRuntimeErrorProducer

@Name("Is Poisoned") @Description("Checks whether an entity is poisoned.") @Example("if the player is poisoned:\n\tcure the player from poison\n\tmessage \"You have been cured!\" to the player\n") @Since("1.4.4") public class CondIsPoisoned extends ch.njol.skript.conditions.base.PropertyCondition<org.bukkit.entity.LivingEntity>
  • Constructor Details

    • CondIsPoisoned

      public CondIsPoisoned()
  • Method Details

    • register

      public static void register(SyntaxRegistry registry, Origin origin)
    • check

      public boolean check(org.bukkit.entity.LivingEntity entity)
      Specified by:
      check in class ch.njol.skript.conditions.base.PropertyCondition<org.bukkit.entity.LivingEntity>
    • getPropertyName

      protected String getPropertyName()
      Specified by:
      getPropertyName in class ch.njol.skript.conditions.base.PropertyCondition<org.bukkit.entity.LivingEntity>