How do I fill a certain area with a specific block?

enter image description here

I’m on Minecraft version :1.2.13 and I am building a castle. I don’t want to go through the pain of clicking for a giant floor. So how do I fill a space?

1

1 Answer

Use the fill command.

/fill <from: x y z> <to: x y z> <tileName: Block> [tileData: int]

<from: x y z> and <to: x y z>: The coordinates of the opposite corners of the area where the blocks will be filled.

<tileName: Block>: The block you want to fill the area with.

[tileData: int]: Optional part where you put a number to specify what data value you want the block in <tileName: Block> to be.

Examples

Fill an area from 0 1 2 to 3 4 5 with orange wool (the data value is 1):

/fill 0 1 2 3 4 5 wool 1

Fill an area from 16 37 47 to -56 34 1 with stone:

/fill 16 37 47 -56 34 1 stone

Sources
Commands/fill on Minecraft Gamepedia
Wool on Minecraft Gamepedia
Stone on Minecraft Gamepedia

You Might Also Like