/setblock does'nt work exactly like the /fill command. After a setblock, you can add "destroy", "keep" or "replace". keep - the block is placed only if it's air destroy - the block is placed and the old block is destroyed (particle + block update) replace - the block is placed (no particles + no update)
You can't specify a block to replace in a /setblock command.
/setblock does'nt work exactly like the /fill command.
After a setblock, you can add "destroy", "keep" or "replace".
keep - the block is placed only if it's air
destroy - the block is placed and the old block is destroyed (particle + block update)
replace - the block is placed (no particles + no update)
You can't specify a block to replace in a /setblock command.