TransWikia.com

Which command would I use to clear an area of one type of block in MCBE?

Arqade Asked by Curious gamer on January 22, 2021

I’m trying to clear an area of stone and nothing else. Is there a command I can use for this?

One Answer

/fill 0 0 0 10 10 10 air 0 replace stone 0

That command makes all stone air.
Leave the last number out (i.e. /fill 0 0 0 10 10 10 air 0 replace stone) to replace all blocks of that ID, in that example removing the 0 would replace stone, granite, etc.. Note the data value after the first ID is absolutely necessary.
Syntax:

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

Answered by Penguin on January 22, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP