Minecraft Recurrent Complex Wiki
Command:fill
Type Command
Category Generation 
Command /#fill
Help Use /help #fill

This command fills the area completely with any block - also random compositions of metadata.

Example: fill a selected region with spruce planks (note: need to enter meta data tag):

/#fill minecraft:planks --metadata 1

Use --shape sphere to fill in the shape of a sphere or circle instead.

Replacing Blocks[]

Note that this also functions as a replace command by offering the second parameter (positioned block expression), e.g. to replace stone with dirt:

/#fill dirt stone

Options[]

--flood <directions>[]

This command floods the material around it with any block. This is useful for filling unusual shapes with a kind of block, for example lakes or houses. By default, all air blocks are flooded, but this can be modified by providing a source block expression parameter.