SurfBukkitApi
Represents the API for SurfBukkit.
Functions
Link copied to clipboard
Creates a SurfScoreboardBuilder with the given title.
Link copied to clipboard
Link copied to clipboard
Sends a player to a specified server.
Link copied to clipboard
abstract suspend fun skipTimeSmoothly(skipOperation: SkipOperations.SkipOperation): Map<World, TimeSkipResult>
Skips time smoothly in a Minecraft world based on the specified skip operation.
Skips time smoothly in the specified worlds.
Skip time smoothly by adding a specified amount of time to each world for a given duration.
abstract suspend fun skipTimeSmoothly(world: World, skipOperation: SkipOperations.SkipOperation): TimeSkipResult
Smoothly skips time in the specified Minecraft world based on the given skip operation.
Skips time smoothly in a given world by adding the specified amount of time. Suspends the coroutine until the time skip operation is complete.
abstract suspend fun skipTimeSmoothly(world: World, timeToAdd: Long, duration: Long): TimeSkipResult
Smoothly skips time in the specified world by adding the given time for the specified duration.