Is there a command to remove all of one type of block in minecraft? [duplicate]
By John Parsons •
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?
11 Answer
I'm gonna just keep this short and say yep. Use -
/fill [X1] [Y1] [Z1] [X2] [Y2] [Z2] [Block To Remove] replace air