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