Learn R Programming

miner (version 0.2.2)

setPlayerPitch: Set a player's pitch

Description

Set a player's pitch

Usage

setPlayerPitch(angle, id = NULL)

Arguments

angle

Angle of pitch (-90 is straight up and +90 is straight down)

id

Player or entity ID

See Also

getPlayerPitch(), setPlayerRotation(), setPlayerDirection(), setPlayerPos()

Examples

Run this code
# NOT RUN {
mc_connect()
getPlayerIds()
setPlayerPitch(45, 355)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab