Description Usage Arguments Value Examples
Place blocks of a single type (specified by id
) in the cuboid
with opposite corners at the positions (x0, y0, z0) and (x1, y1, z1).
1 | setBlocks(x0, y0, z0, x1, y1, z1, id)
|
x0 |
A numeric value giving the starting north / south position of the cuboid. |
y0 |
A numeric value giving the starting height of the cuboid. |
z0 |
A numeric value giving the starting east / west position of the cuboid. |
x1 |
A numeric value giving the north / south position of the opposite corner of the cuboid. |
y1 |
A numeric value giving the ending height of the opposite corner of the cuboid. |
z1 |
A numeric value giving the ending east / west position of the opposite corner of the cuboid. |
id |
A numeric or character string with the ID of a Minecraft item
(specify either |
None.
1 2 3 4 5 6 7 8 9 | ## Not run:
mc_connect()
ice <- find_item(name = "Ice")
h <- getHeight(0,0)
setBlocks(0, h, 0, 1, h + 3, 2, id = ice$id)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.