This function pack allows you to retrieve a player’s coordinates and store them on a scoreboard. It also enables teleportation to any coordinate specified by scoreboard values.
Contributors
- Technique Shared by: @akiponggg0119
- Commands Compilation: @gobblecrow
This work is licensed under the MIT License.
Usage Commands
/function wiki/scoreboard/players/get_coordinate/initiate
Retrieves your coordinates and stores them on the corresponding objectives:
wiki:x.axis, wiki:y.axis, and wiki:z.axis.
/execute as <target> at @s run function wiki/scoreboard/players/get_coordinate/initiate
Retrieves the coordinates of selected or multiple targets.
/function wiki/teleport/initiate
Teleports you to the coordinate based on your wiki:x.tp, wiki:y.tp, and wiki:z.tp scoreboard values.
/execute as <target> at @s run function wiki/teleport/initiate
Teleports targets to coordinates based on their wiki:x.tp, wiki:y.tp, and wiki:z.tp scoreboard values.