I'm trying to replace stone bricks with air (to try to find a portal room in a stronghold) but I'm having trouble understanding the syntax on the Wiki page.
The Meaning of Life, the Universe, and Everything.
Join Date:
9/10/2019
Posts:
53
Member Details
You would do it like this:
/fill ~ ~ ~ ~10 ~10 ~10 air 0 replace stonebrick
The first set of coordinates are the coordinates which you are standing in. The command which you have above would fill a 1 x 1 x 1 cube starting 10 blocks away from you in all directions and ending in the same spot.
I'm trying to replace stone bricks with air (to try to find a portal room in a stronghold) but I'm having trouble understanding the syntax on the Wiki page.
As far as I can understand it, it should be:
"/fill from: ~-10 ~-10 ~-10 to: ~10 ~10 ~10 tileName: minecraft:air replace replaceTileName: minecraft:stone_brick"
but that gives me "Syntax error: Unexpected "from"...
Just testing.
I figured it out by trial and error.
"/fill ~-10 ~-10 ~-10 ~10 ~10 ~10 air 0 replace stonebrick"
But that doesn't seem to fit the syntax in the Wiki?
Has the command been changed since the Wiki page was written?
Just testing.
You would do it like this:
/fill ~ ~ ~ ~10 ~10 ~10 air 0 replace stonebrick
The first set of coordinates are the coordinates which you are standing in. The command which you have above would fill a 1 x 1 x 1 cube starting 10 blocks away from you in all directions and ending in the same spot.