Fill a box
fillSets all blocks in a boxed region to one type, with modes to replace, keep, hollow, outline, or destroy, and splits large commands automatically.
Instructions
Fill a box with one block. Modes: replace (optionally only blocks matching replace_filter), keep (only air), destroy (drop items), hollow (walls + air inside), outline (walls only, interior untouched). Splits over the 32768-block command limit automatically.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | ||
| from | Yes | ||
| mode | No | replace | |
| block | Yes | Block state, e.g. "stone" or "oak_log[axis=y]" | |
| label | No | Short label stored with the snapshot, e.g. "cottage walls" | |
| world | No | overworld (default), nether, end, a minecraft:<dimension> id, or a Bukkit world folder name | |
| dry_run | No | Compile and report without changing the world | |
| snapshot | No | Snapshot the affected box first so undo can revert it (needs world read access) | |
| replace_filter | No | With mode=replace: only replace blocks matching this state, e.g. "dirt" or "#minecraft:logs" | |
| allow_unknown_blocks | No | Skip block-name validation (for blocks newer than the bundled registry) |