Fills a region with blocks.
/fill[replace|destroy|hollow|outline|keep]
| Name | Required | Description |
|---|---|---|
| x1 y1 z1 | Yes | First corner. |
| x2 y2 z2 | Yes | Opposite corner. |
| block | Yes | Block identifier. |
| mode | No | Fill behavior. |
/fill ~1 ~ ~1 ~5 ~4 ~5 minecraft:glass hollow /fill 0 64 0 10 70 10 minecraft:stone
Modes and block limits may vary by edition.