onChunk

open override fun onChunk(world: World, chunkX: Int, chunkZ: Int): SchedulingContext

Runs a task on a specific chunk, specified by its X and Z coordinates.

This does not guarantee that the chunk is loaded.