setblock will not set an iron or wooden door
If you use setblock to set a door, in any position, be it iron_door (71) or wooden_door (64), you instead get a 1-block high, door-thick invisible block. For the wooden door, you can right-click it to open and close it, and it rotates, and makes the sound. Attempting to trigger a invisible iron door to open will just make the door break and drop.
-
- using REPLACE will change an already existing door's position (if you use a different block data)
What I expected to happen was...:
A door would be set, in its proper position.
What actually happened was...:
You get an invisible 1-high door.
Steps to Reproduce:
1. say or use a command block: /setblock iron_door ~2 ~ ~ 0 Replace
(any x y z will work)
Environment
Put your operating system (Windows 7, Windows XP, OSX) and Java version if you know it here
Linked Issues
Created Issue:
setblock will not set an iron or wooden door
If you use setblock to set a door, in any position, be it iron_door (71) or wooden_door (64), you instead get a 1-block high, door-thick invisible block. For the wooden door, you can right-click it to open and close it, and it rotates, and makes the sound. Attempting to trigger a invisible iron door to open will just make the door break and drop.
- using REPLACE will change an already existing door's position (if you use a different block data)
What I expected to happen was...:
A door would be set, in its proper position.What actually happened was...:
You get an invisible 1-high door.Steps to Reproduce:
1. say or use a command block: /setblock iron_door ~2 ~ ~ 0 Replace
(any x y z will work)Environment
Put your operating system (Windows 7, Windows XP, OSX) and Java version if you know it here
relates to
is duplicated by
is duplicated by
relates to
is duplicated by
Reopening. MC-41843 was about how each block must be placed separately. This issue is about the behavior when replacing an existing door with a different one.
Thank you for your report!
We're tracking this issue in MC-41843, so this ticket is being resolved and linked as a duplicate.
That ticket has already been resolved as working as intended, which means this is not considered a bug and won't be fixed. Please do not leave a comment on the linked ticket.
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

This is intended. A door consists of 2 blocks, I.E. you need 2 command blocks. See my bug here for more info:
MC-41304