McServerWorld

interface McServerWorld

Represents a Minecraft server world.

Properties

Link copied to clipboard
abstract val name: String

Gets the name of this world.

Functions

Link copied to clipboard
abstract fun <T> getInstance(): T

Gets the server's implementation instance for this world.

Link copied to clipboard
abstract fun sendGameEvent(entity: McServerEntity, gameEvent: String)

Sends a game event to the world.