Class CondIsCharged

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

@Name("Is Charged") @Description("Checks if a creeper is charged (powered).") @Examples({"if the last spawned creeper is charged:","\tbroadcast \"A charged creeper is at %location of last spawned creeper%\""}) @Since("2.5") public class CondIsCharged extends PropertyCondition<org.bukkit.entity.LivingEntity>
  • Constructor Details

    • CondIsCharged

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