Class Scheduler

java.lang.Object
org.reprogle.honeypot.folia.Scheduler

public class Scheduler extends Object
  • Field Details

    • FOLIA

      public static final boolean FOLIA
  • Constructor Details

    • Scheduler

      public Scheduler()
  • Method Details

    • executeOrScheduleSync

      public static void executeOrScheduleSync(org.bukkit.plugin.Plugin plugin, Runnable task, org.bukkit.entity.Entity entity)
    • executeOrScheduleSync

      public static void executeOrScheduleSync(org.bukkit.plugin.Plugin plugin, Runnable task, org.bukkit.Location location)
    • runTask

      public static Scheduler.ScheduledTask runTask(org.bukkit.plugin.Plugin plugin, Runnable task, org.bukkit.entity.Entity entity)
    • runTaskLater

      public static Scheduler.ScheduledTask runTaskLater(org.bukkit.plugin.Plugin plugin, Runnable task, long delay, org.bukkit.entity.Entity entity)
    • runTaskTimer

      public static Scheduler.ScheduledTask runTaskTimer(org.bukkit.plugin.Plugin plugin, Runnable task, long delay, long period, org.bukkit.entity.Entity entity)
    • runTask

      public static Scheduler.ScheduledTask runTask(org.bukkit.plugin.Plugin plugin, Runnable task, org.bukkit.Location location)
    • runTaskLater

      public static Scheduler.ScheduledTask runTaskLater(org.bukkit.plugin.Plugin plugin, Runnable task, long delay, org.bukkit.Location location)
    • runTaskTimer

      public static Scheduler.ScheduledTask runTaskTimer(org.bukkit.plugin.Plugin plugin, Runnable task, long delay, long period, org.bukkit.Location location)
    • runTask

      public static Scheduler.ScheduledTask runTask(org.bukkit.plugin.Plugin plugin, Runnable task)
    • runTaskLater

      public static Scheduler.ScheduledTask runTaskLater(org.bukkit.plugin.Plugin plugin, Runnable task, long delay)
    • runTaskTimer

      public static Scheduler.ScheduledTask runTaskTimer(org.bukkit.plugin.Plugin plugin, Runnable task, long delay, long period)
    • runTaskAsynchronously

      public static Scheduler.ScheduledTask runTaskAsynchronously(org.bukkit.plugin.Plugin plugin, Runnable task)
    • runTaskLaterAsynchronously

      public static Scheduler.ScheduledTask runTaskLaterAsynchronously(org.bukkit.plugin.Plugin plugin, Runnable task, long delay)
    • runTaskTimerAsynchronously

      public static Scheduler.ScheduledTask runTaskTimerAsynchronously(org.bukkit.plugin.Plugin plugin, Runnable task, long delay, long period)