McServerWorld

interface McServerWorld

Represents a Minecraft server world.

Properties

Link copied to clipboard
abstract val key: String

Gets the key that identifies this world, e.g. "minecraft:the_nether".

Link copied to clipboard
abstract val name: String

Gets the platform-specific 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.