If standing too close to a gate and you open it, player is trapped, unable to move or rotate. If trapped but can access gate hitbox, breaking the gate releases player.
Reverse placed doors act in same manner (don't know if regular placed doors act this way).
Logging out, then in does not release player.
Unless player is able to break door/gate, only way to release is via /kill or to be killed by mob.
Linked issues
duplicates 1
Attachments
Comments 4
also this glitch sometimes happens if you throw an ender pearl a far distance, you'll get stuck in a block
My player is stuck in the doorway of the village blacksmith shop. Villager can't push player out. Player can't rotate enough to break door, wall, or floor. I guess the player is stuck until the bug gets fixed?
Duplicate of MC-152824
If you escape with an ender pearl, or somehow open the door, the door bugs out and splits in 2 as shown here
[media]