toMinecraftDegree
Converts a rotation quaternion to the XYZ Euler angles used by Minecraft item display transforms.
var degrees = MathUtil.toMinecraftDegree(new Quaternionf());
Content copied to clipboard
Return
the XYZ Euler angles in degrees
Since
3.7.0
Parameters
rotation
the rotation quaternion