Hmm. Turns out x is pitch, y is yaw, and z is roll, however since minecraft doesnt use roll, its always zero.
Thanks for the help