- check_circle Functions
Published Dec 28th, 2022, 12/28/22 1:22 am
- 1,036 views, 2 today
- 13 downloads, 0 today
7
Igtarr's Math Constants Datapack
This datapack utility automatically creates scoreboard constants from -10,000 to 10,000 (inclusive) for the purpose of math operations. You can access these values under the objective "igt.const"
Numbers are formatted as the numerical value (including negative sign if applicable), with a # symbol at the end. I understand that this naming system kind of goes against the convention for fake players, but I think it gives a more readable appearance when used in commands.
Examples:
-20# = -20
0# = 0
5# = 5
Since this is a scoreboard you are also able to add your own values outside of the given range, but this datapack is a good start.
Feel free to modify, reverse engineer, use in your projects, etc., but please do not redistribute without credit!
This datapack utility automatically creates scoreboard constants from -10,000 to 10,000 (inclusive) for the purpose of math operations. You can access these values under the objective "igt.const"
Numbers are formatted as the numerical value (including negative sign if applicable), with a # symbol at the end. I understand that this naming system kind of goes against the convention for fake players, but I think it gives a more readable appearance when used in commands.
Examples:
-20# = -20
0# = 0
5# = 5
Since this is a scoreboard you are also able to add your own values outside of the given range, but this datapack is a good start.
Feel free to modify, reverse engineer, use in your projects, etc., but please do not redistribute without credit!
Compatibility | Minecraft 1.13 |
to | Minecraft 1.19 |
Tags |
5809267
119
Create an account or sign in to comment.