queue

fun queue(pos: ChunkPos, task: suspend (NetworkState) -> Boolean)

Queues a custom network task in pos that may or may not change the network state. The task then returns whether the network state was changed.