Is there a utility to replace one block type with another within a region?Is there a command to remove all of one type of block in minecraft?How to turn all stone to TNT in MinecraftChange certain blocks to other blocks?How do i replace a specific block type in x y z region?i need to destroy all of one type of block in the world (not just a small part)Minecraft-Command to remove all dropped sandstoneIn vanilla Minecraft 1.12.2, without using other tools, is there a way to remove one block and change it with another?Stained Glass Cheat to Transform into Clear GlassMost Efficient Way To Mine CobblestoneHow do I use Gamerule variables in commands?Detect broken blocks that don't drop itemsHow to detect a player close to a specific block Minecraft 1.9How to modify mob attribute in minecraftReplace Block Type Not Working
Chess software to analyze games
iPhone 8 purchased through AT&T change to T-Mobile
Is it allowable to use an organization's name to publish a paper in a conference, even after I graduate from it?
How do slats reduce stall speed?
Can my Boyfriend, who lives in the UK and has a Polish passport, visit me in the USA?
Use of vor in this sentence
Do predators tend to have vertical slit pupils versus horizontal for prey animals?
Story about a demon trying to make a man insane
What is the evidence on the danger of feeding whole blueberries and grapes to infants and toddlers?
90s(?) book series about two people transported to a parallel medieval world, she joins city watch, he becomes wizard
Did the twin engined Lazair ultralight have a throttle for each engine?
Sleeping solo in a double sleeping bag
Metal that glows when near pieces of itself
Are required indicators necessary for radio buttons?
Why doesn't mathematics collapse down, even though humans quite often make mistakes in their proofs?
Changing a TGV booking
Has there ever been a truly bilingual country prior to the contemporary period?
Can others monetize my project with GPLv3?
Will Route 53 geolocation routing behind CloudFront operate on users or edge location?
How many spells can a level 1 wizard learn?
Is this kind of description not recommended?
Chord with lyrics - What does it mean if there is an empty space instead of a Chord?
Label on a bended arrow
Starships without computers?
Is there a utility to replace one block type with another within a region?
Is there a command to remove all of one type of block in minecraft?How to turn all stone to TNT in MinecraftChange certain blocks to other blocks?How do i replace a specific block type in x y z region?i need to destroy all of one type of block in the world (not just a small part)Minecraft-Command to remove all dropped sandstoneIn vanilla Minecraft 1.12.2, without using other tools, is there a way to remove one block and change it with another?Stained Glass Cheat to Transform into Clear GlassMost Efficient Way To Mine CobblestoneHow do I use Gamerule variables in commands?Detect broken blocks that don't drop itemsHow to detect a player close to a specific block Minecraft 1.9How to modify mob attribute in minecraftReplace Block Type Not Working
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I'd like to be able to select a region (either with a graphical utility or command line) and be able to switch one block type with another, e.g. change all cobblestone in the region to stone. Does a program/mod exist that can do this?
minecraft
add a comment |
I'd like to be able to select a region (either with a graphical utility or command line) and be able to switch one block type with another, e.g. change all cobblestone in the region to stone. Does a program/mod exist that can do this?
minecraft
add a comment |
I'd like to be able to select a region (either with a graphical utility or command line) and be able to switch one block type with another, e.g. change all cobblestone in the region to stone. Does a program/mod exist that can do this?
minecraft
I'd like to be able to select a region (either with a graphical utility or command line) and be able to switch one block type with another, e.g. change all cobblestone in the region to stone. Does a program/mod exist that can do this?
minecraft
minecraft
edited Jun 6 '12 at 16:32
fredley
asked Aug 12 '11 at 13:25
fredleyfredley
41.6k82 gold badges275 silver badges431 bronze badges
41.6k82 gold badges275 silver badges431 bronze badges
add a comment |
add a comment |
4 Answers
4
active
oldest
votes
WorldEdit has such a command after selecting the area type
//replace [old block] [new block]
This will turn all of the first block from the area into the second block.
As the question refer to "Within a region" and i interpret it as a MCRegion aka a chunk, I would add on to the question the command/chunkwhich selects the chunks that your region encompasses.
– DarkDestry
Sep 22 '14 at 15:37
add a comment |
As of 1.8, this can be done in vanilla with the /fill command. It can be done using command blocks or typing it straight into the chat.
For example, to change cobblestone to stone:
/fill <x1> <y1> <z1> <x2> <y2> <z2> stone 0 replace cobblestone
Change <x1> <y1> <z1> to the coordinates of one corner of the rectangular area, and <x2> <y2> <z2> with the coordinates of the opposite corner.
2
What is the 0 after the stone for?
– Geoffrey Hale
May 24 '18 at 13:39
1
As of Minecraft 1.13, that0argument is not needed (and probably not valid) anymore.
– NetherGranite
Jun 30 at 1:04
add a comment |
MCEdit has this capability. As an example, I made a selection that included grass blocks, and replaced the grass in that selection with cobblestone:


The tool that's selected in the first image is the find tool. Once open, there's an option to change it to find and replace. Then it's just as easy as selecting your two block types and hitting replace.
add a comment |
In 1.13. The /fill command has been updated, this is the new syntax:
/fill <from> <to> <block> [replace|destroy|hollow|outline|keep]
from and to define two opposite corners of the volume that you want to fill
block is the block that you want to fill into that volume
The next keyword decides what exactly should happen in the specified volume, it is optional and not using it defaults to replace.replace sets every block in the specified volume to the specified <block>.destroy works like replace, but every block in the specified volume will drop whatever item they would usually drop (diamond ore drops diamonds and experience for example) and there will be a breaking particle effect.hollow works like replace, but the volume will then be hollow, there will be a one block thick wall and everything inside will be set to air.outline works like hollow, but only the one block thick wall will be placed, everything inside will stay the way it is instead of being set to air.keep works like replace, but only air blocks get filled with the specified block.
You can also use this syntax instead:
/fill <from> <to> <block> replace <filter>
In this case only blocks specified by the <filter> will be set to the block specified in <block>
So to replace all cobblestone in a volume between the coordinates 60 60 60 and 70 70 70 with stone you can use this command:
/fill 60 60 60 70 70 70 stone replace cobblestone
add a comment |
protected by fredley Jun 16 '13 at 10:07
Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?
4 Answers
4
active
oldest
votes
4 Answers
4
active
oldest
votes
active
oldest
votes
active
oldest
votes
WorldEdit has such a command after selecting the area type
//replace [old block] [new block]
This will turn all of the first block from the area into the second block.
As the question refer to "Within a region" and i interpret it as a MCRegion aka a chunk, I would add on to the question the command/chunkwhich selects the chunks that your region encompasses.
– DarkDestry
Sep 22 '14 at 15:37
add a comment |
WorldEdit has such a command after selecting the area type
//replace [old block] [new block]
This will turn all of the first block from the area into the second block.
As the question refer to "Within a region" and i interpret it as a MCRegion aka a chunk, I would add on to the question the command/chunkwhich selects the chunks that your region encompasses.
– DarkDestry
Sep 22 '14 at 15:37
add a comment |
WorldEdit has such a command after selecting the area type
//replace [old block] [new block]
This will turn all of the first block from the area into the second block.
WorldEdit has such a command after selecting the area type
//replace [old block] [new block]
This will turn all of the first block from the area into the second block.
answered Aug 12 '11 at 13:50
RonanRonan
14.4k14 gold badges69 silver badges118 bronze badges
14.4k14 gold badges69 silver badges118 bronze badges
As the question refer to "Within a region" and i interpret it as a MCRegion aka a chunk, I would add on to the question the command/chunkwhich selects the chunks that your region encompasses.
– DarkDestry
Sep 22 '14 at 15:37
add a comment |
As the question refer to "Within a region" and i interpret it as a MCRegion aka a chunk, I would add on to the question the command/chunkwhich selects the chunks that your region encompasses.
– DarkDestry
Sep 22 '14 at 15:37
As the question refer to "Within a region" and i interpret it as a MCRegion aka a chunk, I would add on to the question the command
/chunk which selects the chunks that your region encompasses.– DarkDestry
Sep 22 '14 at 15:37
As the question refer to "Within a region" and i interpret it as a MCRegion aka a chunk, I would add on to the question the command
/chunk which selects the chunks that your region encompasses.– DarkDestry
Sep 22 '14 at 15:37
add a comment |
As of 1.8, this can be done in vanilla with the /fill command. It can be done using command blocks or typing it straight into the chat.
For example, to change cobblestone to stone:
/fill <x1> <y1> <z1> <x2> <y2> <z2> stone 0 replace cobblestone
Change <x1> <y1> <z1> to the coordinates of one corner of the rectangular area, and <x2> <y2> <z2> with the coordinates of the opposite corner.
2
What is the 0 after the stone for?
– Geoffrey Hale
May 24 '18 at 13:39
1
As of Minecraft 1.13, that0argument is not needed (and probably not valid) anymore.
– NetherGranite
Jun 30 at 1:04
add a comment |
As of 1.8, this can be done in vanilla with the /fill command. It can be done using command blocks or typing it straight into the chat.
For example, to change cobblestone to stone:
/fill <x1> <y1> <z1> <x2> <y2> <z2> stone 0 replace cobblestone
Change <x1> <y1> <z1> to the coordinates of one corner of the rectangular area, and <x2> <y2> <z2> with the coordinates of the opposite corner.
2
What is the 0 after the stone for?
– Geoffrey Hale
May 24 '18 at 13:39
1
As of Minecraft 1.13, that0argument is not needed (and probably not valid) anymore.
– NetherGranite
Jun 30 at 1:04
add a comment |
As of 1.8, this can be done in vanilla with the /fill command. It can be done using command blocks or typing it straight into the chat.
For example, to change cobblestone to stone:
/fill <x1> <y1> <z1> <x2> <y2> <z2> stone 0 replace cobblestone
Change <x1> <y1> <z1> to the coordinates of one corner of the rectangular area, and <x2> <y2> <z2> with the coordinates of the opposite corner.
As of 1.8, this can be done in vanilla with the /fill command. It can be done using command blocks or typing it straight into the chat.
For example, to change cobblestone to stone:
/fill <x1> <y1> <z1> <x2> <y2> <z2> stone 0 replace cobblestone
Change <x1> <y1> <z1> to the coordinates of one corner of the rectangular area, and <x2> <y2> <z2> with the coordinates of the opposite corner.
edited Sep 23 '14 at 0:44
aytimothy
12k12 gold badges62 silver badges115 bronze badges
12k12 gold badges62 silver badges115 bronze badges
answered Sep 20 '14 at 21:39
SirBenetSirBenet
25.7k3 gold badges51 silver badges81 bronze badges
25.7k3 gold badges51 silver badges81 bronze badges
2
What is the 0 after the stone for?
– Geoffrey Hale
May 24 '18 at 13:39
1
As of Minecraft 1.13, that0argument is not needed (and probably not valid) anymore.
– NetherGranite
Jun 30 at 1:04
add a comment |
2
What is the 0 after the stone for?
– Geoffrey Hale
May 24 '18 at 13:39
1
As of Minecraft 1.13, that0argument is not needed (and probably not valid) anymore.
– NetherGranite
Jun 30 at 1:04
2
2
What is the 0 after the stone for?
– Geoffrey Hale
May 24 '18 at 13:39
What is the 0 after the stone for?
– Geoffrey Hale
May 24 '18 at 13:39
1
1
As of Minecraft 1.13, that
0 argument is not needed (and probably not valid) anymore.– NetherGranite
Jun 30 at 1:04
As of Minecraft 1.13, that
0 argument is not needed (and probably not valid) anymore.– NetherGranite
Jun 30 at 1:04
add a comment |
MCEdit has this capability. As an example, I made a selection that included grass blocks, and replaced the grass in that selection with cobblestone:


The tool that's selected in the first image is the find tool. Once open, there's an option to change it to find and replace. Then it's just as easy as selecting your two block types and hitting replace.
add a comment |
MCEdit has this capability. As an example, I made a selection that included grass blocks, and replaced the grass in that selection with cobblestone:


The tool that's selected in the first image is the find tool. Once open, there's an option to change it to find and replace. Then it's just as easy as selecting your two block types and hitting replace.
add a comment |
MCEdit has this capability. As an example, I made a selection that included grass blocks, and replaced the grass in that selection with cobblestone:


The tool that's selected in the first image is the find tool. Once open, there's an option to change it to find and replace. Then it's just as easy as selecting your two block types and hitting replace.
MCEdit has this capability. As an example, I made a selection that included grass blocks, and replaced the grass in that selection with cobblestone:


The tool that's selected in the first image is the find tool. Once open, there's an option to change it to find and replace. Then it's just as easy as selecting your two block types and hitting replace.
answered Mar 27 '13 at 23:55
MBraedleyMBraedley
13.4k17 gold badges89 silver badges141 bronze badges
13.4k17 gold badges89 silver badges141 bronze badges
add a comment |
add a comment |
In 1.13. The /fill command has been updated, this is the new syntax:
/fill <from> <to> <block> [replace|destroy|hollow|outline|keep]
from and to define two opposite corners of the volume that you want to fill
block is the block that you want to fill into that volume
The next keyword decides what exactly should happen in the specified volume, it is optional and not using it defaults to replace.replace sets every block in the specified volume to the specified <block>.destroy works like replace, but every block in the specified volume will drop whatever item they would usually drop (diamond ore drops diamonds and experience for example) and there will be a breaking particle effect.hollow works like replace, but the volume will then be hollow, there will be a one block thick wall and everything inside will be set to air.outline works like hollow, but only the one block thick wall will be placed, everything inside will stay the way it is instead of being set to air.keep works like replace, but only air blocks get filled with the specified block.
You can also use this syntax instead:
/fill <from> <to> <block> replace <filter>
In this case only blocks specified by the <filter> will be set to the block specified in <block>
So to replace all cobblestone in a volume between the coordinates 60 60 60 and 70 70 70 with stone you can use this command:
/fill 60 60 60 70 70 70 stone replace cobblestone
add a comment |
In 1.13. The /fill command has been updated, this is the new syntax:
/fill <from> <to> <block> [replace|destroy|hollow|outline|keep]
from and to define two opposite corners of the volume that you want to fill
block is the block that you want to fill into that volume
The next keyword decides what exactly should happen in the specified volume, it is optional and not using it defaults to replace.replace sets every block in the specified volume to the specified <block>.destroy works like replace, but every block in the specified volume will drop whatever item they would usually drop (diamond ore drops diamonds and experience for example) and there will be a breaking particle effect.hollow works like replace, but the volume will then be hollow, there will be a one block thick wall and everything inside will be set to air.outline works like hollow, but only the one block thick wall will be placed, everything inside will stay the way it is instead of being set to air.keep works like replace, but only air blocks get filled with the specified block.
You can also use this syntax instead:
/fill <from> <to> <block> replace <filter>
In this case only blocks specified by the <filter> will be set to the block specified in <block>
So to replace all cobblestone in a volume between the coordinates 60 60 60 and 70 70 70 with stone you can use this command:
/fill 60 60 60 70 70 70 stone replace cobblestone
add a comment |
In 1.13. The /fill command has been updated, this is the new syntax:
/fill <from> <to> <block> [replace|destroy|hollow|outline|keep]
from and to define two opposite corners of the volume that you want to fill
block is the block that you want to fill into that volume
The next keyword decides what exactly should happen in the specified volume, it is optional and not using it defaults to replace.replace sets every block in the specified volume to the specified <block>.destroy works like replace, but every block in the specified volume will drop whatever item they would usually drop (diamond ore drops diamonds and experience for example) and there will be a breaking particle effect.hollow works like replace, but the volume will then be hollow, there will be a one block thick wall and everything inside will be set to air.outline works like hollow, but only the one block thick wall will be placed, everything inside will stay the way it is instead of being set to air.keep works like replace, but only air blocks get filled with the specified block.
You can also use this syntax instead:
/fill <from> <to> <block> replace <filter>
In this case only blocks specified by the <filter> will be set to the block specified in <block>
So to replace all cobblestone in a volume between the coordinates 60 60 60 and 70 70 70 with stone you can use this command:
/fill 60 60 60 70 70 70 stone replace cobblestone
In 1.13. The /fill command has been updated, this is the new syntax:
/fill <from> <to> <block> [replace|destroy|hollow|outline|keep]
from and to define two opposite corners of the volume that you want to fill
block is the block that you want to fill into that volume
The next keyword decides what exactly should happen in the specified volume, it is optional and not using it defaults to replace.replace sets every block in the specified volume to the specified <block>.destroy works like replace, but every block in the specified volume will drop whatever item they would usually drop (diamond ore drops diamonds and experience for example) and there will be a breaking particle effect.hollow works like replace, but the volume will then be hollow, there will be a one block thick wall and everything inside will be set to air.outline works like hollow, but only the one block thick wall will be placed, everything inside will stay the way it is instead of being set to air.keep works like replace, but only air blocks get filled with the specified block.
You can also use this syntax instead:
/fill <from> <to> <block> replace <filter>
In this case only blocks specified by the <filter> will be set to the block specified in <block>
So to replace all cobblestone in a volume between the coordinates 60 60 60 and 70 70 70 with stone you can use this command:
/fill 60 60 60 70 70 70 stone replace cobblestone
answered 2 hours ago
bearb001bearb001
4,0911 gold badge5 silver badges30 bronze badges
4,0911 gold badge5 silver badges30 bronze badges
add a comment |
add a comment |
protected by fredley Jun 16 '13 at 10:07
Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?