-
Notifications
You must be signed in to change notification settings - Fork 0
Functions
Thijs Boom edited this page Oct 31, 2020
·
1 revision
This datapack works through a couple of functions. For the actual 'code' for these functions, check the source code!
- Teleports player to corresponding location in the Nether, the coordinates are divided by 8, this does Minecraft by itself
- Resets the tpnether scoreboard
- Re-enables the tpnether scoreboard
- Teleports player to corresponding location in the Overworld, the coordinates are multiplied by 8, this does Minecraft by itself
- Resets the tpoverworld scoreboard
- Re-enables the tpoverworld scoreboard
- Checks if the tpnether scoreboard gets score 1, if so then runs function tpnether
- Checks if the tpoverworld scoreboard gets score 1, if so then runs function tpoverworld