Class CondIsTameable

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

@Name("Is Tameable") @Description("Check if an entity is tameable.") @Examples({"on damage:","\tif victim is tameable:","\t\tcancel event"}) @Since("2.5") public class CondIsTameable extends PropertyCondition<org.bukkit.entity.LivingEntity>
  • Constructor Details

    • CondIsTameable

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