MCCoroutine
interface MCCoroutine
Content copied to clipboard
Hidden internal MCCoroutine interface.
Types
Functions
get Coroutine Session
Link copied to clipboard
abstract fun getCoroutineSession(extension: <ERROR CLASS>): CoroutineSession
Content copied to clipboard
Get coroutine session for the given extension. When using an extension, coroutine scope is bound to the lifetime of the extension.
abstract fun getCoroutineSession(minecraftServer: <ERROR CLASS>): CoroutineSession
Content copied to clipboard
Get coroutine session for the given server. When using a server, coroutine scope is bound to the lifetime of the entire server.