# SetBlock
TIP
setBlock(<world>, <x>, <y>, <z>, <block>)
- Places a block at a specific position, the <block> must be an array with the following elements:
["id"]
Block's ID["meta"]
Block's meta (Optional)
# Parameters
<world>
The world to place the block in as string<x>
The X coordinate for the block as int or float<y>
The Y coordinate for the block as int or float<z>
The Z coordinate for the block as int or float<block>
The block to place as array
# Example
1: $block$["id"] = 98
2: setBlock($world$, $x$, $y$ - 1, $z$, $block$)
3: sendMessage($player$, "Set the block below you to stone bricks.")