Class StargateRegionTask

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

public abstract class StargateRegionTask extends StargateTask
Runs task in a region (Folia) or in the main thread (paper)
  • Constructor Details

    • StargateRegionTask

      protected StargateRegionTask(org.bukkit.Location location, boolean bungee)
    • StargateRegionTask

      protected StargateRegionTask(org.bukkit.Location location)
  • Method Details

    • runNow

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

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

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

      public static void startPopulator(org.bukkit.plugin.Plugin plugin)
    • clearPopulator

      public static void clearPopulator()