Minecraft – How to make a large area air

minecraft-java-edition

How can I make a large section (around 100 blocks) into air, without having to create a command block to individually place //setblock air for each block. Thanks!

Best Answer

Use the /fill command. The syntax is:

fill <x1> <y1> <z1> <x2> <y2> <z2> <TileName> [dataValue] [oldBlockHandling] [dataTag]

The sets of coordinates should specify the two opposite corners of a cuboid selection.

For example, to fill from x=0, y=10, z=0 to x=30, y=20, z=30 with air:

/fill 0 10 0 30 20 30 air