← Back to Command Directory ← Back to Home

/fill

Fills a region with blocks.

Syntax

/fill        [replace|destroy|hollow|outline|keep]

Parameters

NameRequiredDescription
x1 y1 z1YesFirst corner.
x2 y2 z2YesOpposite corner.
blockYesBlock identifier.
modeNoFill behavior.

Examples

/fill ~1 ~ ~1 ~5 ~4 ~5 minecraft:glass hollow
/fill 0 64 0 10 70 10 minecraft:stone

Notes

Version Differences

Modes and block limits may vary by edition.

Related Commands