Class CondLeashed

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

@Name("Is Leashed") @Description("Checks to see if an entity is currently leashed.") @Examples("target entity is leashed") @Since("2.5") public class CondLeashed extends PropertyCondition<org.bukkit.entity.LivingEntity>
  • Constructor Details

    • CondLeashed

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