place
Place a block in the world at a position you choose.
blocks.place(GRASS, pos(0, 0, 0));
Parameters
- block: the block to place
- pos: the position at which to place the block
Example
Continuously place a block of gold underneath your feet.
loops.forever(() => {
blocks.place(GOLD_BLOCK, pos(0, -1, 0));
});