Teleport
Information | |
---|---|
Type | Entity Function |
Namespace | moxlib:api/helpers/player/teleport |
Versions | 1.17+ |
Overview
Teleports the executing player to the given coordinates, within the same dimension.
Example
data modify storage moxlib:api/helpers/player/teleport target set value [0,64,0]
execute as Steve run function moxlib:api/helpers/player/teleport
API
Expects
- Number Array
target
Array of co-ordinates for the destination.