At the moment it's very difficult to get the square root of a scoreboard value in command blocks. This function would open up possibilities for new creations, especially because being able to do the Pythagorean theorem in real time is very useful. The function would work like any other scoreboard operation, with the command
scoreboard players operation <targets> <targetObjective> sqrt= <source> <sourceObjective>
setting the target objective to the square root of the source objective, rounded to the nearest integer.
Please sign in to leave a comment.
0 Comments