set_block_nbt
Attach block entity NBT data, such as chest contents, to a block at specified coordinates for accurate Minecraft structure saves.
Instructions
Attach block entity NBT, e.g. chest contents: {Items:[{Slot:0b,id:"minecraft:candle",Count:2b}]} (1.20.1 item format: id + Count).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | ||
| y | Yes | ||
| z | Yes | ||
| name | Yes | ||
| snbt | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |