I'm hosting a pvp server for me and my friends and I was wondering if you could have a command break all of one kind of block, eg spruce wood. Is there a command to destroy all blocks of one kind in a world?
The fill command works in a 31x31x31 space for a total of somewhere around 32000 blocks per command execution.
So find one corner coordinates; e.g. -23 67 497
Then the opposite corner; e.g. 47 73 420
Then breaking spruce planks for example. Run a repeat command block, unconditional and always active, with the command...
/fill -23 67 497 47 73 420 air 0 replace planks 1
Then replace "planks 1" with whatever block you want to break
Rollback Post to RevisionRollBack
Confident with Command Blocks and Redstone contraptions, and love building adventure maps or maps just to have a bit of fun with, like minigames and stuff. Need any help with your adventure map, just PM me and I would love to help.
I'm hosting a pvp server for me and my friends and I was wondering if you could have a command break all of one kind of block, eg spruce wood. Is there a command to destroy all blocks of one kind in a world?
You could try
/fill x1 y1 z1 x2 y2 z2 air 0 replace <Block you want to replace>
but I think it will only work up to a 16 x 16 area.
As above said, you could replace the block, just with worldedit. //replace should do the trick.
Is there a plugin that I can have the world as a base and reset blocks in that? You know, like Hypixel does it.
The fill command works in a 31x31x31 space for a total of somewhere around 32000 blocks per command execution.
So find one corner coordinates; e.g. -23 67 497
Then the opposite corner; e.g. 47 73 420
Then breaking spruce planks for example. Run a repeat command block, unconditional and always active, with the command...
/fill -23 67 497 47 73 420 air 0 replace planks 1
Then replace "planks 1" with whatever block you want to break
Confident with Command Blocks and Redstone contraptions, and love building adventure maps or maps just to have a bit of fun with, like minigames and stuff. Need any help with your adventure map, just PM me and I would love to help.