Uses of Interface
org.bukkit.scheduler.BukkitTask
| Package | Description |
|---|---|
| org.bukkit.scheduler |
Classes dedicated to letting
plugins run
code at specific time intervals, including thread safety. |
-
Uses of BukkitTask in org.bukkit.scheduler
Methods in org.bukkit.scheduler that return BukkitTask Modifier and Type Method Description BukkitTaskBukkitRunnable. runTask(Plugin plugin)Schedules this in the Bukkit scheduler to run on next tick.BukkitTaskBukkitScheduler. runTask(Plugin plugin, Runnable task)Returns a task that will run on the next server tick.BukkitTaskBukkitScheduler. runTask(Plugin plugin, BukkitRunnable task)Deprecated.BukkitTaskBukkitRunnable. runTaskAsynchronously(Plugin plugin)Asynchronous tasks should never access any API in Bukkit.BukkitTaskBukkitScheduler. runTaskAsynchronously(Plugin plugin, Runnable task)Asynchronous tasks should never access any API in Bukkit.BukkitTaskBukkitScheduler. runTaskAsynchronously(Plugin plugin, BukkitRunnable task)Deprecated.BukkitTaskBukkitRunnable. runTaskLater(Plugin plugin, long delay)Schedules this to run after the specified number of server ticks.BukkitTaskBukkitScheduler. runTaskLater(Plugin plugin, Runnable task, long delay)Returns a task that will run after the specified number of server ticks.BukkitTaskBukkitScheduler. runTaskLater(Plugin plugin, BukkitRunnable task, long delay)Deprecated.BukkitTaskBukkitRunnable. runTaskLaterAsynchronously(Plugin plugin, long delay)Asynchronous tasks should never access any API in Bukkit.BukkitTaskBukkitScheduler. runTaskLaterAsynchronously(Plugin plugin, Runnable task, long delay)Asynchronous tasks should never access any API in Bukkit.BukkitTaskBukkitScheduler. runTaskLaterAsynchronously(Plugin plugin, BukkitRunnable task, long delay)Deprecated.BukkitTaskBukkitRunnable. runTaskTimer(Plugin plugin, long delay, long period)Schedules this to repeatedly run until cancelled, starting after the specified number of server ticks.BukkitTaskBukkitScheduler. runTaskTimer(Plugin plugin, Runnable task, long delay, long period)Returns a task that will repeatedly run until cancelled, starting after the specified number of server ticks.BukkitTaskBukkitScheduler. runTaskTimer(Plugin plugin, BukkitRunnable task, long delay, long period)Deprecated.BukkitTaskBukkitRunnable. runTaskTimerAsynchronously(Plugin plugin, long delay, long period)Asynchronous tasks should never access any API in Bukkit.BukkitTaskBukkitScheduler. runTaskTimerAsynchronously(Plugin plugin, Runnable task, long delay, long period)Asynchronous tasks should never access any API in Bukkit.BukkitTaskBukkitScheduler. runTaskTimerAsynchronously(Plugin plugin, BukkitRunnable task, long delay, long period)Deprecated.Methods in org.bukkit.scheduler that return types with arguments of type BukkitTask Modifier and Type Method Description List<BukkitTask>BukkitScheduler. getPendingTasks()Returns a list of all pending tasks.Method parameters in org.bukkit.scheduler with type arguments of type BukkitTask Modifier and Type Method Description voidBukkitScheduler. runTask(Plugin plugin, Consumer<BukkitTask> task)Returns a task that will run on the next server tick.voidBukkitScheduler. runTaskAsynchronously(Plugin plugin, Consumer<BukkitTask> task)Asynchronous tasks should never access any API in Bukkit.voidBukkitScheduler. runTaskLater(Plugin plugin, Consumer<BukkitTask> task, long delay)Returns a task that will run after the specified number of server ticks.voidBukkitScheduler. runTaskLaterAsynchronously(Plugin plugin, Consumer<BukkitTask> task, long delay)Asynchronous tasks should never access any API in Bukkit.voidBukkitScheduler. runTaskTimer(Plugin plugin, Consumer<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(Plugin plugin, Consumer<BukkitTask> task, long delay, long period)Asynchronous tasks should never access any API in Bukkit.