ProxyService

interface ProxyService

Proxies small framework specific actions.

Functions

getAsyncExecutor
Link copied to clipboard
abstract fun getAsyncExecutor(): Executor
Gets an execute to schedule tasks on the asynchronous bukkit threadPool.
getServerVersion
Link copied to clipboard
abstract fun getServerVersion(): Version
Gets the running minecraft version.
getSyncExecutor
Link copied to clipboard
abstract fun getSyncExecutor(): Executor
Gets an execute to schedule tasks on the synchronous bukkit thread.
runAsyncTask
Link copied to clipboard
abstract fun runAsyncTask(runnable: Runnable)
Deprecated.
runSyncTask
Link copied to clipboard
abstract fun runSyncTask(runnable: Runnable)
Deprecated.
toLocation
Link copied to clipboard
abstract fun <L> toLocation(position: Position): L
Converts the given position to a location.
toPosition
Link copied to clipboard
abstract fun <L> toPosition(location: L): Position
Converts the given location to a position.
toVector
Link copied to clipboard
abstract fun <V> toVector(position: Position): V
Converts the given position to a vector.