Package com.sucy.skill.task
Class ProjectileTickTask
java.lang.Object
com.sucy.skill.thread.RepeatThreadTask
com.sucy.skill.task.ProjectileTickTask
- All Implemented Interfaces:
IThreadTask,Runnable
Task used to implement
ProjectileTickEvent-
Field Summary
Fields inherited from class com.sucy.skill.thread.RepeatThreadTask
expired -
Constructor Summary
ConstructorsConstructorDescriptionProjectileTickTask(org.bukkit.entity.LivingEntity shooter, org.bukkit.entity.Projectile projectile) -
Method Summary
Modifier and TypeMethodDescriptionvoidrun()Checks if projectile still did not hit the entity/ground and then throws @ProjectileTickEventMethods inherited from class com.sucy.skill.thread.RepeatThreadTask
tick
-
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
-