Return the player's pitch (angle in the up / down direction).
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
Integer giving the ID of a player. You can find IDs of all
current players using
A double vector of length one with a value between -90 (looking straight up) and 90 (looking straight down) giving the pitch of the player's viewpoint.
1 2 3 4 5 6 7
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.