Players rotation nbt value going out of the -180 to 180 range
The bug
If a player rotates left far enough the rotation value will go into negatives resetting to 0 after reaching -360. The rotation value should only range from -180 to 180 instead of -360 to 360.
You can recreate this by entering this command:
/data get entity @p Rotation[0] 1
Rotate to different directions and look at what the output is. If you spin far to the right you will get a positive output, if you spin far to the left, you will get a negative output.
2018-02-05, 10:15 PM
2020-09-15, 06:27 PM
2020-09-15, 06:27 PM
2
6
-