How to rotate entity?
I want to rotate a pig from south to north or east or west.
I found a method setRotation(new Vector3d(x, y, z)), but I can’t understand, what I have to write in x, y, z.
The vector3d xyz stand for yaw, pitch, rotation. I can not remeber the order. Ill try and quickly find it and write it in edit
Edit
X = pitch
Y = yawn
Z = roll