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 ScheduledTask
EntityScheduler.run
(@NotNull Plugin plugin, @NotNull Consumer<ScheduledTask> task, @Nullable Runnable retired) Schedules a task to execute on the next tick.@NotNull ScheduledTask
GlobalRegionScheduler.run
(@NotNull Plugin plugin, @NotNull Consumer<ScheduledTask> task) Schedules a task to be executed on the global region on the next tick.default @NotNull ScheduledTask
RegionScheduler.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 ScheduledTask
RegionScheduler.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 ScheduledTask
AsyncScheduler.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 ScheduledTask
EntityScheduler.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 ScheduledTask
GlobalRegionScheduler.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 ScheduledTask
RegionScheduler.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 ScheduledTask
RegionScheduler.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 ScheduledTask
AsyncScheduler.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 ScheduledTask
EntityScheduler.runDelayed
(@NotNull Plugin plugin, @NotNull Consumer<ScheduledTask> task, @Nullable Runnable retired, long delayTicks) Schedules a task with the given delay.@NotNull ScheduledTask
GlobalRegionScheduler.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 ScheduledTask
RegionScheduler.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 ScheduledTask
RegionScheduler.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 ScheduledTask
AsyncScheduler.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 ScheduledTask
EntityScheduler.run
(@NotNull Plugin plugin, @NotNull Consumer<ScheduledTask> task, @Nullable Runnable retired) Schedules a task to execute on the next tick.@NotNull ScheduledTask
GlobalRegionScheduler.run
(@NotNull Plugin plugin, @NotNull Consumer<ScheduledTask> task) Schedules a task to be executed on the global region on the next tick.default @NotNull ScheduledTask
RegionScheduler.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 ScheduledTask
RegionScheduler.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 ScheduledTask
AsyncScheduler.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 ScheduledTask
EntityScheduler.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 ScheduledTask
GlobalRegionScheduler.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 ScheduledTask
RegionScheduler.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 ScheduledTask
RegionScheduler.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 ScheduledTask
AsyncScheduler.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 ScheduledTask
EntityScheduler.runDelayed
(@NotNull Plugin plugin, @NotNull Consumer<ScheduledTask> task, @Nullable Runnable retired, long delayTicks) Schedules a task with the given delay.@NotNull ScheduledTask
GlobalRegionScheduler.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 ScheduledTask
RegionScheduler.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 ScheduledTask
RegionScheduler.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 ScheduledTask
AsyncScheduler.runNow
(@NotNull Plugin plugin, @NotNull Consumer<ScheduledTask> task) Schedules the specified task to be executed asynchronously immediately.