Affects Version/s: 1.16.4
Fix Version/s: None
What was expected to happen ?
door get replaced with a door block with different open attribute
What happened instead ?
Here is my command i used to run the setblock command using exeute
/execute if block 100000 2 100032 minecraft:dark_oak_door[open=true] run setblock 100000 2 100032 minecraft:dark_oak_door[open=false] replace
actually , the execute command itself is unrelated to this issue , it is the setblock command itself that does not work if there is already a door in the position regardless open attribute
/setblock 100000 2 100032 minecraft:dark_oak_door[open=false] replace
Workaround to fix this issue :
set the block to air first then place the door