Get the current rotation of a player. The default is to get the rotation for
the first player spawned in the Minecraft world, but this can be run for a different
player by using the player_id argument.
Usage
getPlayerRotation(player_id = NULL)
Arguments
player_id
Integer giving the ID of a player. You can find IDs of all
current players using getPlayerIds().
Value
A numeric value between 0 and +360 indicating the direction
that the player is facing, with 0 being south (positive z), 90
being west (negative x), 180 being north (negative z), 270
being east (positive x), and 360 being back at the south again.