Uses of Interface
io.papermc.paper.threadedregions.scheduler.ScheduledTask
-
Uses of ScheduledTask in io.papermc.paper.threadedregions.scheduler
Modifier and TypeMethodDescriptionEntityScheduler.run
(@NotNull Plugin plugin, @NotNull Consumer<ScheduledTask> task, @Nullable Runnable retired) Schedules a task to execute on the next tick.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.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.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.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.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.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.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.EntityScheduler.runDelayed
(@NotNull Plugin plugin, @NotNull Consumer<ScheduledTask> task, @Nullable Runnable retired, long delayTicks) Schedules a task with the given delay.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.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.Schedules the specified task to be executed asynchronously immediately.Modifier and TypeMethodDescriptionEntityScheduler.run
(@NotNull Plugin plugin, @NotNull Consumer<ScheduledTask> task, @Nullable Runnable retired) Schedules a task to execute on the next tick.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.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.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.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.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.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.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.EntityScheduler.runDelayed
(@NotNull Plugin plugin, @NotNull Consumer<ScheduledTask> task, @Nullable Runnable retired, long delayTicks) Schedules a task with the given delay.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.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.Schedules the specified task to be executed asynchronously immediately.