Minecraft yaw pitch?

Fi
2

I wanted to ask how I can let the player look at a particular block (with Forge).

an

Change

player.rotationYaw

and

player.rotationPitch

to the respective yaw and pitch.

gl

Like MrAmazing2 or

player.teleport (world, x, y, z, YAW, PITCH);