/setblock replace bug
When using the command '/setblock ~ ~-1 ~ minecraft:barrier 0 replace minecraft:air', any block underneath the player is still changed to the barrier block instead of just air blocks. This is the same for the command '/execute @a ~ ~ ~ setblock ~ ~-1 ~ minecraft:redstone_block 0 replace minecraft:wooden_pressure_plate'
{updated 2/27/14}Created Issue:
/setblock replace bug
When using the command '/setblock ~ ~-1 ~ minecraft:barrier 0 replace minecraft:air', any block underneath the player is still changed to the barrier block instead of just air blocks.
When using the command '/setblock ~ ~-1 ~ minecraft:barrier 0 replace minecraft:air', any block underneath the player is still changed to the barrier block instead of just air blocks. This is the same for the command '/execute @a ~ ~ ~ setblock ~ ~-1 ~ minecraft:redstone_block 0 replace minecraft:wooden_pressure_plate'
{updated 2/27/14}
To replace only air blocks, use the "keep" mode instead of "replace minecraft:air". Air is a special blocktype and can't be used as replace filter in this case.
Check out the execute command i added. How is that not a bug?
The /setblock command does not support replacing a specific block type. You will want to use /fill for that:
Otherwise, suggestions should go on the reddit or forums.