mojira.dev
MC-46069

/setblock air doesn't work at all

If I am trying to use "/setblock ~3 ~ ~2 minecraft:air 0 replace" in the command block, but it says "Can't place block". I set it on a sandstone in a redstone ready world. There is a block of redstone on that place where I am trying to place air

Comments 23

At least put up a snapshot
it doesnt make sense and it says that if there already is air in that block and it is if you put it on land. If you count 3 blocks up and 2 blocks up z and put a block there it will turn it to air. You are trying to turn air into air atm.

Maybe try to put more blocks around you probably counted wrong

I tried very many combinations and it didn't worked

hmm oh wow i didnt read your command properly the problem is you are putting the tag for the block is "replace" the command should be "setblock ~3 ~ ~2 minecraft:air 0 replace" it reads after the block as the extra id e.g. to make blocks face a different direction it wouldnt be 0 it would be 1 or 2 or 3 depending on the direction you want but anyway it will work with the above command 😃 Please close this because its not a bug

I put there 0 but i forgot to write it here!

13 more comments

Try changing minecraft:air to minecraft:wool and see if the block is placed. I'm unable to reproduce.

Is this still a concern in the current Minecraft version 14w11b or later? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases. - bot

Cannot reproduce at all.

Bug not present. Air works fine.

Michael

(Unassigned)

Unconfirmed

Minecraft 14w04b

Retrieved