powered by
Place a block at position (x,y,z) by type id
setBlock(x, y, z, id, style = 0)
A numeric string with north/south position
A numeric string with height
A numeric string with east/west position
A numeric or character string with the ID of a Minecraft item (specify either name or id, not both)
name
id
A numeric or character string with the style of a Minecraft item (use this argument only if querying by id is provided)
None.
# NOT RUN { mc_connect() h <- getHeight(0, 0) setBlock(0, h, 0, 46) # } # NOT RUN { # }
Run the code above in your browser using DataLab