Uses of Interface
io.papermc.paper.threadedregions.scheduler.ScheduledTask
Packages that use ScheduledTask
-
Uses of ScheduledTask in io.papermc.paper.threadedregions.scheduler
Methods in io.papermc.paper.threadedregions.scheduler that return ScheduledTaskModifier and TypeMethodDescription@Nullable ScheduledTaskEntityScheduler.run(@NotNull Plugin plugin, @NotNull Consumer<ScheduledTask> task, @Nullable Runnable retired) Schedules a task to execute on the next tick.@NotNull ScheduledTaskGlobalRegionScheduler.run(@NotNull Plugin plugin, @NotNull Consumer<ScheduledTask> task) Schedules a task to be executed on the global region on the next tick.default @NotNull ScheduledTaskRegionScheduler.run(@NotNull Plugin plugin, @NotNull Location location, @NotNull Consumer<ScheduledTask> task) Schedules a task to be executed on the region which owns the location on the next tick.@NotNull ScheduledTaskRegionScheduler.run(@NotNull Plugin plugin, @NotNull World world, int chunkX, int chunkZ, @NotNull Consumer<ScheduledTask> task) Schedules a task to be executed on the region which owns the location on the next tick.@NotNull ScheduledTaskAsyncScheduler.runAtFixedRate(@NotNull Plugin plugin, @NotNull Consumer<ScheduledTask> task, long initialDelay, long period, @NotNull TimeUnit unit) Schedules the specified task to be executed asynchronously after the initial delay has passed, and then periodically executed with the specified period.@Nullable ScheduledTaskEntityScheduler.runAtFixedRate(@NotNull Plugin plugin, @NotNull Consumer<ScheduledTask> task, @Nullable Runnable retired, long initialDelayTicks, long periodTicks) Schedules a repeating task with the given delay and period.@NotNull ScheduledTaskGlobalRegionScheduler.runAtFixedRate(@NotNull Plugin plugin, @NotNull Consumer<ScheduledTask> task, long initialDelayTicks, long periodTicks) Schedules a repeating task to be executed on the global region after the initial delay with the specified period.default @NotNull ScheduledTaskRegionScheduler.runAtFixedRate(@NotNull Plugin plugin, @NotNull Location location, @NotNull Consumer<ScheduledTask> task, long initialDelayTicks, long periodTicks) Schedules a repeating task to be executed on the region which owns the location after the initial delay with the specified period.@NotNull ScheduledTaskRegionScheduler.runAtFixedRate(@NotNull Plugin plugin, @NotNull World world, int chunkX, int chunkZ, @NotNull Consumer<ScheduledTask> task, long initialDelayTicks, long periodTicks) Schedules a repeating task to be executed on the region which owns the location after the initial delay with the specified period.@NotNull ScheduledTaskAsyncScheduler.runDelayed(@NotNull Plugin plugin, @NotNull Consumer<ScheduledTask> task, long delay, @NotNull TimeUnit unit) Schedules the specified task to be executed asynchronously after the time delay has passed.@Nullable ScheduledTaskEntityScheduler.runDelayed(@NotNull Plugin plugin, @NotNull Consumer<ScheduledTask> task, @Nullable Runnable retired, long delayTicks) Schedules a task with the given delay.@NotNull ScheduledTaskGlobalRegionScheduler.runDelayed(@NotNull Plugin plugin, @NotNull Consumer<ScheduledTask> task, long delayTicks) Schedules a task to be executed on the global region after the specified delay in ticks.default @NotNull ScheduledTaskRegionScheduler.runDelayed(@NotNull Plugin plugin, @NotNull Location location, @NotNull Consumer<ScheduledTask> task, long delayTicks) Schedules a task to be executed on the region which owns the location after the specified delay in ticks.@NotNull ScheduledTaskRegionScheduler.runDelayed(@NotNull Plugin plugin, @NotNull World world, int chunkX, int chunkZ, @NotNull Consumer<ScheduledTask> task, long delayTicks) Schedules a task to be executed on the region which owns the location after the specified delay in ticks.@NotNull ScheduledTaskAsyncScheduler.runNow(@NotNull Plugin plugin, @NotNull Consumer<ScheduledTask> task) Schedules the specified task to be executed asynchronously immediately.Method parameters in io.papermc.paper.threadedregions.scheduler with type arguments of type ScheduledTaskModifier and TypeMethodDescription@Nullable ScheduledTaskEntityScheduler.run(@NotNull Plugin plugin, @NotNull Consumer<ScheduledTask> task, @Nullable Runnable retired) Schedules a task to execute on the next tick.@NotNull ScheduledTaskGlobalRegionScheduler.run(@NotNull Plugin plugin, @NotNull Consumer<ScheduledTask> task) Schedules a task to be executed on the global region on the next tick.default @NotNull ScheduledTaskRegionScheduler.run(@NotNull Plugin plugin, @NotNull Location location, @NotNull Consumer<ScheduledTask> task) Schedules a task to be executed on the region which owns the location on the next tick.@NotNull ScheduledTaskRegionScheduler.run(@NotNull Plugin plugin, @NotNull World world, int chunkX, int chunkZ, @NotNull Consumer<ScheduledTask> task) Schedules a task to be executed on the region which owns the location on the next tick.@NotNull ScheduledTaskAsyncScheduler.runAtFixedRate(@NotNull Plugin plugin, @NotNull Consumer<ScheduledTask> task, long initialDelay, long period, @NotNull TimeUnit unit) Schedules the specified task to be executed asynchronously after the initial delay has passed, and then periodically executed with the specified period.@Nullable ScheduledTaskEntityScheduler.runAtFixedRate(@NotNull Plugin plugin, @NotNull Consumer<ScheduledTask> task, @Nullable Runnable retired, long initialDelayTicks, long periodTicks) Schedules a repeating task with the given delay and period.@NotNull ScheduledTaskGlobalRegionScheduler.runAtFixedRate(@NotNull Plugin plugin, @NotNull Consumer<ScheduledTask> task, long initialDelayTicks, long periodTicks) Schedules a repeating task to be executed on the global region after the initial delay with the specified period.default @NotNull ScheduledTaskRegionScheduler.runAtFixedRate(@NotNull Plugin plugin, @NotNull Location location, @NotNull Consumer<ScheduledTask> task, long initialDelayTicks, long periodTicks) Schedules a repeating task to be executed on the region which owns the location after the initial delay with the specified period.@NotNull ScheduledTaskRegionScheduler.runAtFixedRate(@NotNull Plugin plugin, @NotNull World world, int chunkX, int chunkZ, @NotNull Consumer<ScheduledTask> task, long initialDelayTicks, long periodTicks) Schedules a repeating task to be executed on the region which owns the location after the initial delay with the specified period.@NotNull ScheduledTaskAsyncScheduler.runDelayed(@NotNull Plugin plugin, @NotNull Consumer<ScheduledTask> task, long delay, @NotNull TimeUnit unit) Schedules the specified task to be executed asynchronously after the time delay has passed.@Nullable ScheduledTaskEntityScheduler.runDelayed(@NotNull Plugin plugin, @NotNull Consumer<ScheduledTask> task, @Nullable Runnable retired, long delayTicks) Schedules a task with the given delay.@NotNull ScheduledTaskGlobalRegionScheduler.runDelayed(@NotNull Plugin plugin, @NotNull Consumer<ScheduledTask> task, long delayTicks) Schedules a task to be executed on the global region after the specified delay in ticks.default @NotNull ScheduledTaskRegionScheduler.runDelayed(@NotNull Plugin plugin, @NotNull Location location, @NotNull Consumer<ScheduledTask> task, long delayTicks) Schedules a task to be executed on the region which owns the location after the specified delay in ticks.@NotNull ScheduledTaskRegionScheduler.runDelayed(@NotNull Plugin plugin, @NotNull World world, int chunkX, int chunkZ, @NotNull Consumer<ScheduledTask> task, long delayTicks) Schedules a task to be executed on the region which owns the location after the specified delay in ticks.@NotNull ScheduledTaskAsyncScheduler.runNow(@NotNull Plugin plugin, @NotNull Consumer<ScheduledTask> task) Schedules the specified task to be executed asynchronously immediately.