Please explain the parameters for this command: /fill ~ ~ ~ ~+30 0 ~+30 air 1 replace stone . Specially, I don't understand the "0" or the "1" in the command. This fill command removes everything but gravel, ores, and precious stones, diamonds, lapis, and red stone.
Where did the +30 come from? symbols other than carets ^ or tildes ~ arent supposed to exist for the syntax.
The coordinate range fills from the executor's position (the player or cmd block) to 30 blocks to the +x and +z and to y = 0. That's what the 0 is for.
The 1 is the tiledata/blockstate of air which doesnt really exist iirc, so that doesnt really matter in this case.
replace stone just tells the command to remove all stone blocks
Thanks for the explanation. Ecosoldier had the "/file" command on one his YouTube videos. I could not figure out the Y=0 and "air 1". After many tests, I finally figured out how the "Y=0" worked, but the "air 1" did not make sense to me. I always used "air 0".
Please explain the parameters for this command: /fill ~ ~ ~ ~+30 0 ~+30 air 1 replace stone . Specially, I don't understand the "0" or the "1" in the command. This fill command removes everything but gravel, ores, and precious stones, diamonds, lapis, and red stone.
Where did the +30 come from? symbols other than carets ^ or tildes ~ arent supposed to exist for the syntax.
The coordinate range fills from the executor's position (the player or cmd block) to 30 blocks to the +x and +z and to y = 0. That's what the 0 is for.
The 1 is the tiledata/blockstate of air which doesnt really exist iirc, so that doesnt really matter in this case.
replace stone just tells the command to remove all stone blocks
Thanks for the explanation. Ecosoldier had the "/file" command on one his YouTube videos. I could not figure out the Y=0 and "air 1". After many tests, I finally figured out how the "Y=0" worked, but the "air 1" did not make sense to me. I always used "air 0".