Guide 1 Docs 2 Reference 3

Function of World

world.set_blocks

Sets many blocks at once, live, stored and sent; the cheapest way. A row takes skin too, for a player head.

world.set_blocks(changes: { { at: Vec3, block: BlockRef, skin: HeadSkin? } })

Parameters

changes{ { at: Vec3, block: BlockRef, skin: HeadSkin? } }required

Used in