mojira.dev
MC-208998

unable to setblock door with different open attribute if there is already a door in the position

What was expected to happen ?

door get replaced with a door block with different open attribute

What happened instead ?

nothing happened 

 

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

Linked issues

Comments 1

Thank you for your report!
We're tracking this issue in MC-193804, so this ticket is being resolved and linked as a duplicate.

If you would like to add a vote and any extra information to the main ticket it would be appreciated.

If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.

Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
-- I am a bot. This action was performed automatically! Please report any issues on Discord or Reddit

Fajar Merah Diwangkara

(Unassigned)

Unconfirmed

(Unassigned)

1.16.4

Retrieved