Platform

interface Platform

Provides information about the current platform this is running on, such as the name and version, if it is considered stable, and the target Minecraft version.

Properties

Link copied to clipboard
@get:JvmName(name = "dataPackVersion")
abstract val dataPackVersion: Int

The version of the data pack format used by this platform.

Link copied to clipboard
@get:JvmName(name = "minecraftVersion")
abstract val minecraftVersion: String

The version of vanilla Minecraft that this platform targets.

Link copied to clipboard
@get:JvmName(name = "name")
abstract val name: String

The name of the platform.

Link copied to clipboard
@get:JvmName(name = "protocolVersion")
abstract val protocolVersion: Int

The version of the protocol used by this platform.

Link copied to clipboard
@get:JvmName(name = "version")
abstract val version: String

The version of the platform.

Link copied to clipboard
@get:JvmName(name = "worldVersion")
abstract val worldVersion: Int

The version of the world format used by this platform.