Class CondIsSwimming

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

@Name("Is Swimming") @Description("Checks whether a living entity is swimming.") @Examples("player is swimming") @RequiredPlugins("1.13 or newer") @Since("2.3") public class CondIsSwimming extends PropertyCondition<org.bukkit.entity.LivingEntity>
  • Constructor Details

    • CondIsSwimming

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