Class ProjectileTickTask

java.lang.Object
com.sucy.skill.thread.RepeatThreadTask
com.sucy.skill.task.ProjectileTickTask
All Implemented Interfaces:
IThreadTask, Runnable

public class ProjectileTickTask extends RepeatThreadTask
Task used to implement ProjectileTickEvent
  • Constructor Details

    • ProjectileTickTask

      public ProjectileTickTask(org.bukkit.entity.LivingEntity shooter, org.bukkit.entity.Projectile projectile)
  • Method Details

    • run

      public void run()
      Checks if projectile still did not hit the entity/ground and then throws @ProjectileTickEvent