Is there any way to use /fill on just the air blocks of a selected area

Is there any way to use /fill on just the air blocks of a selected area - Soft focus of modern quadcopter flying above road out of city near forest

Specifically im trying to get it so i can put a blanket of fire down on a non flat terrain, i was thinking the clone of fill command but any way i try it theres always a possibility it'll remove blocks around me. i was also thinking falling sand and then replacing it but that kind of ruins the visual effect i want unless there a way to make the sand invisible



Best Answer

Yep, /fill allows you to specify keep as an [oldBlockHandling] mode, and thus only replace air. Try this:

/fill X1 Y1 Z1 X2 Y2 Z2 fire 0 keep



Pictures about "Is there any way to use /fill on just the air blocks of a selected area"

Is there any way to use /fill on just the air blocks of a selected area - Modern city district with highway and sport area
Is there any way to use /fill on just the air blocks of a selected area - Aerial view of long asphalt roadway with sharp turns in modern city at daylight
Is there any way to use /fill on just the air blocks of a selected area - Hurdle painted in white black and red colors placed on empty rubber running track in soft focus



How do you fill an area in Minecraft with air?

Type the command in the chat window and press the Enter key to run the command. This /fill command would replace all blocks in the fill region, including air. The replaced blocks will be dropped and can then be collected as if they were mined with a pickaxe or shovel.

How do you fill in a certain area in Minecraft?

In Minecraft, you can use the /fill command to replace a specific type of block with another. In this case, we want to replace all water blocks with air blocks within a fill range.



Fill selected area in vanilla Minecraft! [Tutorial | English]




Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.

Images: Dominika Roseclay, sergio souza, sergio souza, Andrea Piacquadio