export_mcfunction
Exports a simulated world to Minecraft /setblock commands using relative coordinates from an origin and saves them as designs/.mcfunction for datapack or line-by-line use.
Instructions
Export the world as Minecraft /setblock commands (relative ~ coordinates from origin) and write designs/.mcfunction. Supports go first. Paste into a datapack function or run line by line in a real world.
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": {
"name": "<name>"
},
"name": "export_mcfunction"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| origin | No |