I had a 2x2x2 (vacant blocks) Hut built and with a bed, work table and furnace, leaving only a 1x1x2 block in which I can move in. At one point I decided to put a pressure plate in the last spot (next to a door). I went to bed that night and after I woke up my character was moving up and down and losing hp gradually, then I was told that I died because of wall suffocation. This was in HARDCORE Mode.
Edit: I played another hardcore game where I found that this has happened again, except this time the dimensions of the shed on the indoors was 3x3x2 (vacant blocks). I strongly believe that if there is no empty block on any adjacent side of the pillow side of the bed that the character gets forced into one of the sides and ends up suffocating on the object.
Linked issues
is duplicated by 1
Attachments
Comments 6
MC-7998 is not the same since the wall was only one block thick and I went THROUGH it.
I was also in Creative, not Survival or Hardcore.
I see something similar, but I'm reliably passing through a window when I sleep. There has been a change in the sleeping/adjacent block behaviour since 1.5.2. (edit: because I'm only finding myself forced to move outside since upgrading to 1.6.2.)
Here's where I wake up after sleeping on that bed. Only way I can move is to the right, away from the bed, which forces me outside.
Moved description from "Environment" to "Description"