McServerScheduler
interface McServerScheduler
Functions
Link copied to clipboard
abstract fun <T> runTaskAt(location: ServerPos3d, task: Supplier<T>, loader: Any? = null): CompletableFuture<T>
Schedules a task to run on the game tick thread at a given location.
Link copied to clipboard
abstract fun <T> runTaskFor(entity: McServerEntity, task: Supplier<T>, loader: Any? = null): CompletableFuture<T>
Schedules a task to run on the game tick thread for a given entity.