Class PassiveMechanic


public class PassiveMechanic extends MechanicComponent
Executes child components continuously
  • Constructor Details

    • PassiveMechanic

      public PassiveMechanic()
  • Method Details

    • execute

      public boolean execute(org.bukkit.entity.LivingEntity caster, int level, List<org.bukkit.entity.LivingEntity> targets, boolean force)
      Executes the component
      Specified by:
      execute in class EffectComponent
      Parameters:
      caster - caster of the skill
      level - level of the skill
      targets - targets to apply to
      force -
      Returns:
      true if applied to something, false otherwise
    • getKey

      public String getKey()
      Specified by:
      getKey in class EffectComponent
    • doCleanUp

      protected void doCleanUp(org.bukkit.entity.LivingEntity caster)
      Overrides:
      doCleanUp in class EffectComponent