Is there a command to remove all of one type of block in minecraft? [duplicate]

Is there a command to remove all of one type of block in minecraft? [duplicate] - Brown Wooden Blocks on White Surface

So I'm making a Minecraft map and it involves a lot of removing of certain blocks. Is there a vanilla Minecraft command to remove all blocks of one type in a world? If so, how would I use it?

For example: All different colors of wool spread around a world. And I only want to remove the white ones. How would I do that with a command?



Best Answer

I'm gonna just keep this short and say yep. Use -

/fill [X1] [Y1] [Z1] [X2] [Y2] [Z2] [Block To Remove] replace air




Pictures about "Is there a command to remove all of one type of block in minecraft? [duplicate]"

Is there a command to remove all of one type of block in minecraft? [duplicate] - Crop hacker silhouette typing on computer keyboard while hacking system
Is there a command to remove all of one type of block in minecraft? [duplicate] - Brown Wooden Door With Silver Door Lever
Is there a command to remove all of one type of block in minecraft? [duplicate] - From above of crop anonymous male hacker typing on netbook with data on screen while sitting at desk



How do you mass delete blocks in Minecraft?

Minecraft: Using the fill command to clear chunks To do this, players can either use the F3 key on Minecraft: Java Edition or the "show coordinates" option in Bedrock Edition to note the start and end points of where they want the fill command to clear.

Can you replace all of one block 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.

How do you clone a single block in Minecraft?

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 TO USE COMMANDS TO MASS FILL/DESTROY/REPLACE BLOCKS in Minecraft Bedrock (MCPE/Xbox/PS4/PC)




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

Images: Brett Jordan, Anete Lusina, Kevin Malik, Sora Shimazaki