Class LaunchMechanic


public class LaunchMechanic extends MechanicComponent
Launches the target in a given direction relative to their forward direction
  • Constructor Details

    • LaunchMechanic

      public LaunchMechanic()
  • Method Details

    • getKey

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

      public boolean execute(org.bukkit.entity.LivingEntity caster, int level, List<org.bukkit.entity.LivingEntity> targets, boolean force)
      Executes the component (to be implemented)
      Specified by:
      execute in class EffectComponent
      Parameters:
      caster - caster of the skill
      level - level of the skill
      targets - targets to execute on
      force - whether skill should be forced
      Returns:
      true if executed, false if conditions not met