Uses of Interface
org.bukkit.scheduler.BukkitTask
Packages that use BukkitTask
Package
Description
Classes dedicated to letting 
plugins run
 code at specific time intervals, including thread safety.- 
Uses of BukkitTask in com.destroystokyo.paper.exception
Methods in com.destroystokyo.paper.exception that return BukkitTaskModifier and TypeMethodDescriptionServerSchedulerException.getTask()Gets the task which threw the exceptionConstructors in com.destroystokyo.paper.exception with parameters of type BukkitTaskModifierConstructorDescriptionprotectedServerSchedulerException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace, BukkitTask task) ServerSchedulerException(String message, Throwable cause, BukkitTask task) ServerSchedulerException(Throwable cause, BukkitTask task)  - 
Uses of BukkitTask in org.bukkit.scheduler
Methods in org.bukkit.scheduler that return BukkitTaskModifier and TypeMethodDescription@NotNull BukkitTaskSchedules this in the Bukkit scheduler to run on next tick.@NotNull BukkitTaskReturns a task that will run on the next server tick.@NotNull BukkitTaskBukkitScheduler.runTask(@NotNull Plugin plugin, @NotNull BukkitRunnable task) Deprecated.@NotNull BukkitTaskBukkitRunnable.runTaskAsynchronously(@NotNull Plugin plugin) Asynchronous tasks should never access any API in Bukkit.@NotNull BukkitTaskBukkitScheduler.runTaskAsynchronously(@NotNull Plugin plugin, @NotNull Runnable task) Asynchronous tasks should never access any API in Bukkit. Great care should be taken to assure the thread-safety of asynchronous tasks.@NotNull BukkitTaskBukkitScheduler.runTaskAsynchronously(@NotNull Plugin plugin, @NotNull BukkitRunnable task) Deprecated.@NotNull BukkitTaskBukkitRunnable.runTaskLater(@NotNull Plugin plugin, long delay) Schedules this to run after the specified number of server ticks.@NotNull BukkitTaskBukkitScheduler.runTaskLater(@NotNull Plugin plugin, @NotNull Runnable task, long delay) Returns a task that will run after the specified number of server ticks.@NotNull BukkitTaskBukkitScheduler.runTaskLater(@NotNull Plugin plugin, @NotNull BukkitRunnable task, long delay) Deprecated.@NotNull BukkitTaskBukkitRunnable.runTaskLaterAsynchronously(@NotNull Plugin plugin, long delay) Asynchronous tasks should never access any API in Bukkit.@NotNull BukkitTaskBukkitScheduler.runTaskLaterAsynchronously(@NotNull Plugin plugin, @NotNull Runnable task, long delay) Asynchronous tasks should never access any API in Bukkit. Great care should be taken to assure the thread-safety of asynchronous tasks.@NotNull BukkitTaskBukkitScheduler.runTaskLaterAsynchronously(@NotNull Plugin plugin, @NotNull BukkitRunnable task, long delay) Deprecated.@NotNull BukkitTaskBukkitRunnable.runTaskTimer(@NotNull Plugin plugin, long delay, long period) Schedules this to repeatedly run until cancelled, starting after the specified number of server ticks.@NotNull BukkitTaskBukkitScheduler.runTaskTimer(@NotNull Plugin plugin, @NotNull Runnable task, long delay, long period) Returns a task that will repeatedly run until cancelled, starting after the specified number of server ticks.@NotNull BukkitTaskBukkitScheduler.runTaskTimer(@NotNull Plugin plugin, @NotNull BukkitRunnable task, long delay, long period) Deprecated.@NotNull BukkitTaskBukkitRunnable.runTaskTimerAsynchronously(@NotNull Plugin plugin, long delay, long period) Asynchronous tasks should never access any API in Bukkit.@NotNull BukkitTaskBukkitScheduler.runTaskTimerAsynchronously(@NotNull Plugin plugin, @NotNull Runnable task, long delay, long period) Asynchronous tasks should never access any API in Bukkit. Great care should be taken to assure the thread-safety of asynchronous tasks.@NotNull BukkitTaskBukkitScheduler.runTaskTimerAsynchronously(@NotNull Plugin plugin, @NotNull BukkitRunnable task, long delay, long period) Deprecated.Methods in org.bukkit.scheduler that return types with arguments of type BukkitTaskModifier and TypeMethodDescription@NotNull List<BukkitTask> BukkitScheduler.getPendingTasks()Returns a list of all pending tasks.Method parameters in org.bukkit.scheduler with type arguments of type BukkitTaskModifier and TypeMethodDescriptionvoidBukkitScheduler.runTask(@NotNull Plugin plugin, @NotNull Consumer<? super BukkitTask> task) Returns a task that will run on the next server tick.voidBukkitScheduler.runTaskAsynchronously(@NotNull Plugin plugin, @NotNull Consumer<? super BukkitTask> task) Asynchronous tasks should never access any API in Bukkit. Great care should be taken to assure the thread-safety of asynchronous tasks.voidBukkitScheduler.runTaskLater(@NotNull Plugin plugin, @NotNull Consumer<? super BukkitTask> task, long delay) Returns a task that will run after the specified number of server ticks.voidBukkitScheduler.runTaskLaterAsynchronously(@NotNull Plugin plugin, @NotNull Consumer<? super BukkitTask> task, long delay) Asynchronous tasks should never access any API in Bukkit. Great care should be taken to assure the thread-safety of asynchronous tasks.voidBukkitScheduler.runTaskTimer(@NotNull Plugin plugin, @NotNull Consumer<? super BukkitTask> task, long delay, long period) Returns a task that will repeatedly run until cancelled, starting after the specified number of server ticks.voidBukkitScheduler.runTaskTimerAsynchronously(@NotNull Plugin plugin, @NotNull Consumer<? super BukkitTask> task, long delay, long period) Asynchronous tasks should never access any API in Bukkit. Great care should be taken to assure the thread-safety of asynchronous tasks. 
BukkitRunnable.runTask(Plugin)