Class StargateGlobalTask

java.lang.Object
org.sgrewritten.stargate.thread.task.StargateTask
org.sgrewritten.stargate.thread.task.StargateGlobalTask
All Implemented Interfaces:
Runnable

public abstract class StargateGlobalTask extends StargateTask
Runs task on the global thread (Folia) or on the main thread (paper)
  • Constructor Details

    • StargateGlobalTask

      protected StargateGlobalTask()
    • StargateGlobalTask

      protected StargateGlobalTask(boolean bungee)
  • Method Details

    • runDelayed

      public void runDelayed(long delay)
      Specified by:
      runDelayed in class StargateTask
    • runNow

      public void runNow()
      Specified by:
      runNow in class StargateTask
    • runTaskTimer

      public void runTaskTimer(long period, long delay, Runnable runnable)
    • runTaskTimer

      public void runTaskTimer(long period, long delay)
      Specified by:
      runTaskTimer in class StargateTask