Class CondIsRiptiding

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

@Name("Is Riptiding") @Description("Checks to see if an entity is currently using the Riptide enchantment.") @Examples("target entity is riptiding") @Since("2.5") public class CondIsRiptiding extends PropertyCondition<org.bukkit.entity.LivingEntity>
  • Constructor Details

    • CondIsRiptiding

      public CondIsRiptiding()
  • 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>