How do I change a type of block in a specific area into another block? [duplicate]
![How do I change a type of block in a specific area into another block? [duplicate] - Laundry drying on clothesline near condominium entrance How do I change a type of block in a specific area into another block? [duplicate] - Laundry drying on clothesline near condominium entrance](/assets/images/how_do_i_change_a_type_of_block_in_a_specific_area_into_another_block_duplicate_0.jpeg)
How can I change all blocks in a specific area around me (where I am currently standing) to another block? I tried using the /setblock
command, but it only works for a single block.
For example, if I wanted to replace all of the grass with mycelium in a range of +/- 140 blocks in the X or Z directions, covering the entire Y range, how would I do that?
Best Answer
You should use the fill command. You won't be able to do all 20 million blocks in the 280*256*280 area that you want to do at once (that's a really huge amount), but you'll be able to do smaller segments:
/fill ~-20 ~-8 ~-20 ~20 ~8 ~20 mycelium 0 replace grass
Pictures about "How do I change a type of block in a specific area into another block? [duplicate]"
![How do I change a type of block in a specific area into another block? [duplicate] - Facade of old residential building near drying laundry How do I change a type of block in a specific area into another block? [duplicate] - Facade of old residential building near drying laundry](/assets/images/how_do_i_change_a_type_of_block_in_a_specific_area_into_another_block_duplicate_1.jpeg)
![How do I change a type of block in a specific area into another block? [duplicate] - Facade of aged apartment building with white walls located in green area of town How do I change a type of block in a specific area into another block? [duplicate] - Facade of aged apartment building with white walls located in green area of town](/assets/images/how_do_i_change_a_type_of_block_in_a_specific_area_into_another_block_duplicate_2.jpeg)
![How do I change a type of block in a specific area into another block? [duplicate] - Drone view of modern buildings located in rows between roads in suburb of contemporary town on daytime How do I change a type of block in a specific area into another block? [duplicate] - Drone view of modern buildings located in rows between roads in suburb of contemporary town on daytime](/assets/images/how_do_i_change_a_type_of_block_in_a_specific_area_into_another_block_duplicate_3.jpeg)
Quick Answer about "How do I change a type of block in a specific area into another block? [duplicate]"
How do you replace a specific block with another block in Minecraft?
In Minecraft, you can use the /fill command to replace a specific type of block with another.How do you change blocks from one block to another in AutoCAD?
Do one of the following:Is there a command to replace blocks in Minecraft?
Once cheats are enabled, Minecraft: Bedrock Edition players can open their chat console in-game and type out their command. The syntax of the command to replace blocks (in Bedrock Edition specifically) is currently: /fill <from> <to> <tilename> [tiledata] replace <replacetilename> <replacedatavalue>How To Mass Replace Blocks! | Minecraft (Xbox/PS4/PE/Bedrock)
More answers regarding how do I change a type of block in a specific area into another block? [duplicate]
Answer 2
/clone x y z x y z x y z
The first two "xyz xyz" coordinates are the parameters of what you want to copy, the last "xyz" coordinates are where you want to paste it. And same problem as /fill you can only copy/replace so many blocks at a time. I tried to clone a whole village but it was too many blocks and wouldn't let me :D
Answer 3
/fill x1 y1 z1 x2 y2 z2 <TileName> [dataValue]
For that many blocks you might want to do it in multiple pieces rather than all at once.
Couldn't really understand the other answers so I thought I'd clarify a bit for anyone else who may need this question answered.
Answer 4
connect this command to a fast redstone clock: /execute @p ~ ~ ~ fill ~x ~y ~z ~-x ~-y ~-z block 0 replace block2
substitute block with the block you want and block with the block you want replaced.
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: Meruyert Gonullu, Olga Lioncat, Andreea Ch, Kelly