This behavior pack extends the capabilities of the scoreboard command. You can perform calculations over coordinates, player's level and game mode. The behavior pack uses smart algorithms, so there is high performance
Select version for changelog:
Changelog
- Fixed functions starting with tp_. In 1.0.2 they didn't work correctly, I'm sorry
- Fixed other minor bugs
Could you update it?
I went to spawn and everything worked except the z coord.
I found this line twice in the scoreapi_init.mcfunction. Is that whats causing z to not work?
scoreboard objectives add z dummy Z-cord
like, make all players see each other's levels???
Btw, the sidebar had some glitches when using functions, I fixed it in version 1.0.2 (http://www.mediafire.com/file/ugtbgocp3wo6fwl/ScoreAPI_1.0.2.mcpack/file)
1. /function scoreapi_init, to init objectives
2. /gamerule commandblockoutput false, to disable command block messages
3. Make a command block (repeat, always active), enter /execute @a ~ ~ ~ save_xyz to periodically save the x, y, and z coordinates to the objectives. Done! Now you can view your coordinates by entering /scoreboard players list @s. If you want to save the coordinates ry and rx (head rotation) in addition to x, y and z, then set save_all instead of save_xyz
I can already imagine stuff i can do with this.