預覽幾何建造
mc_build_previewPreview a Minecraft shape's block count, bounding box, and fill command breakdown before placing blocks. Use absolute coordinates to plan builds accurately.
Instructions
只計算不動工:回報這個形狀會用掉幾個方塊、邊界盒在哪、會拆成幾條 fill 指令。座標一律是絕對世界座標;不知道玩家在哪就先用 mc_query_target。建造會直接改變世界,動手前建議先用對應的 preview 工具看方塊數與邊界盒。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| block | Yes | 方塊 ID,例如 stone 或 minecraft:oak_planks | |
| shape | Yes | ||
| blockStates | No | 選用的方塊狀態,例如 ["stone_type":"granite"] |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| block | Yes | ||
| shape | Yes | ||
| bounds | Yes | ||
| blockCount | Yes | ||
| blockStates | Yes | ||
| fillBatches | Yes | ||
| savedCommands | Yes |