teleport

abstract fun teleport(location: Location)

Teleports the player to the specified location.

Example:

player.edit {
teleport(Location(world, 0.0, 64.0, 0.0))
}

Parameters

location

The target location.