CONTENT CONTRACT · VERSION 1
set_block
Place a block of an engine block material in one free, supported cell of a map.
Signature
{ kind: "set_block", material: BlockMaterial, position: BlockPos }Fields
| Name | Type | Meaning |
|---|---|---|
kind | "set_block" | Discriminant |
material | BlockMaterial | Engine block material, as item.place uses it. |
position | BlockPos | Cell of the block. |
Validated example
{
"kind": "set_block",
"material": "stone",
"position": {
"map": "m1",
"x_cell": 4,
"y_cell": 0,
"z_cell": 7
}
}