generate_structure
Build Minecraft NBT structures from set, fill, and room operations without writing Python code. Outputs .nbt files for use in datapacks or worlds.
Instructions
Generate NBT from set/fill/room operations; no Python code execution required.
set: {op:'set',pos:[x,y,z],block:'minecraft:stone',properties:{}} fill: {op:'fill',start:[x,y,z],end:[x,y,z],block:'minecraft:stone'} room: {op:'room',start:[x,y,z],end:[x,y,z],wall:'oak_planks',floor:'stone',roof:'oak_planks'} A views list uses the submit_structure schema. Use the Python Structure library for typed block entities.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"output_path": "<output_path>",
"size": "<size>",
"operations": "<operations>"
},
"name": "generate_structure"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | Yes | ||
| views | No | ||
| operations | Yes | ||
| output_path | Yes |