teleport

abstract fun teleport(modifyLocation: Location.() -> Unit)

Updates location by applying modifyLocation to a clone of the current location.

entity.teleport {
add(0.0, 1.0, 0.0)
}