mouseTurnDelta

fun mouseTurnDelta(cursorDeltaX: Double, cursorDeltaY: Double): RotationDelta

Converts the values passed from MouseHandler.turnPlayer to the yaw/pitch delta applied by vanilla.

1.12.2 reference

See also