Interface IThreadTask

All Superinterfaces:
Runnable
All Known Implementing Classes:
ArmorStandTask, CooldownTask, EffectTask, GUITask, ManaTask, ProjectileTickTask, RepeatThreadTask, SaveTask, ThreadTask

public interface IThreadTask extends Runnable
Interface for tasks used by the main async task
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    run()
    Runs the functions of the task
    boolean
    Ticks the task, checking if it should run
  • Method Details

    • tick

      boolean tick()
      Ticks the task, checking if it should run
      Returns:
      true if expired, false otherwise
    • run

      void run()
      Runs the functions of the task
      Specified by:
      run in interface Runnable