/// <summary> Moves the player to the specified block coordinates. </summary> public static void MoveCoords(Player p, int bX, int bY, int bZ, byte rotX, byte rotY) { ushort x = (ushort)(bX * 32 + 16); ushort y = (ushort)(bY * 32); ushort z = (ushort)(bZ * 32 + 16); p.SendOwnFeetPos(x, y, z, rotX, rotY); }