# NOT RUN {
mc_connect()
p <- getPlayerPos()
setPlayerPos(mc, 0, p + 5, 0)
example_entity <- getPlayerIds()[1]
getPlayerPos(example_entity)
setPlayerPos(0, p, 0, example_entity)
getPlayerPos(example_entity)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab