place
Place a block at the current location and set the mark.
builder.place(GRASS);The ||builder:place|| code block is used to place individual blocks. The builder's mark resets
to the builder's current location when a block is placed.
Parameters
- block: the type of block to place, like: DIAMOND_BLOCK
Example
Use the builder to place a block of diamond above the player.
builder.teleportTo(pos(0, 2, 0));
builder.place(DIAMOND_BLOCK);See Also
Here's an example project that uses the builder: Build a house.