[MC-112] Blocks/entities above beds push players out of bed Created: 24/Oct/12  Updated: 24/Feb/21  Resolved: 12/Mar/19

Status: Resolved
Project: Minecraft: Java Edition
Component/s: None
Affects Version/s: Minecraft 1.4.2, Minecraft 1.4.6, Minecraft 1.4.7, Snapshot 13w01a, Snapshot 13w01b, Snapshot 13w02a, Snapshot 13w03a, Snapshot 13w05b, Snapshot 13w06a, Snapshot 13w10a, Minecraft 1.5, Minecraft 1.5.1, Snapshot 13w16a, Minecraft 1.5.2, Snapshot 13w17a, Snapshot 13w18a, Snapshot 13w18b, Snapshot 13w19a, Minecraft 1.6.1, Minecraft 1.6.2, Minecraft 1.6.4, Minecraft 13w38c, Minecraft 13w39b, Minecraft 13w41a, Minecraft 13w41b, Minecraft 13w42a, Minecraft 13w42b, Minecraft 1.7.1, Minecraft 1.7.2, Minecraft 1.7.4, Minecraft 14w02b, Minecraft 14w02c, Minecraft 14w03b, Minecraft 14w05b, Minecraft 14w06b, Minecraft 14w07a, Minecraft 14w08a, Minecraft 1.7.5, Minecraft 14w10b, Minecraft 14w10c, Minecraft 1.7.9, Minecraft 1.7.10, Minecraft 14w27b, Minecraft 14w28a, Minecraft 14w28b, Minecraft 14w30b, Minecraft 14w30c, Minecraft 14w34d, Minecraft 1.8-pre3, Minecraft 1.8, Minecraft 1.8.1-pre2, Minecraft 1.8.1-pre3, Minecraft 1.8.4, Minecraft 1.8.6, Minecraft 15w31a, Minecraft 15w44b, Minecraft 15w47a, Minecraft 15w47b, Minecraft 15w49a, Minecraft 1.8.9, Minecraft 15w51b, Minecraft 16w02a, Minecraft 16w03a, Minecraft 1.9 Pre-Release 1, Minecraft 1.9 Pre-Release 2, Minecraft 1.9, Minecraft 1.9.1 Pre-Release 3, Minecraft 1.9.1, Minecraft 1.9.2, Minecraft 16w14a, Minecraft 16w15b, Minecraft 1.9.3 Pre-Release 3, Minecraft 1.9.4, Minecraft 16w20a, Minecraft 16w21a, Minecraft 16w21b, Minecraft 1.10 Pre-Release 1, Minecraft 1.10 Pre-Release 2, Minecraft 1.10, Minecraft 1.10.1, Minecraft 1.10.2, Minecraft 16w32a, Minecraft 16w32b, Minecraft 16w33a, Minecraft 16w35a, Minecraft 16w38a, Minecraft 1.11, Minecraft 1.11.2, Minecraft 1.12 Pre-Release 6, Minecraft 1.12, Minecraft 1.12.1 Pre-Release 1, Minecraft 1.12.1, Minecraft 1.12.2, Minecraft 18w11a, Minecraft 18w14a, Minecraft 18w16a, Minecraft 18w22c, Minecraft 1.13-pre1, Minecraft 1.13-pre2, Minecraft 1.13-pre3, Minecraft 1.13-pre4, Minecraft 1.13-pre5, Minecraft 1.13-pre6, Minecraft 1.13-pre7, Minecraft 1.13-pre8, Minecraft 1.13-pre9, Minecraft 1.13-pre10, Minecraft 1.13, Minecraft 18w30a, Minecraft 18w30b, Minecraft 18w31a, Minecraft 18w32a, Minecraft 18w33a, Minecraft 1.13.1-pre1, Minecraft 1.13.1-pre2, Minecraft 1.13.1, Minecraft 1.13.2-pre1, Minecraft 1.13.2-pre2, Minecraft 1.13.2, Minecraft 18w43b, Minecraft 18w43c, Minecraft 18w44a, Minecraft 18w45a, Minecraft 18w46a, Minecraft 18w47a, Minecraft 18w47b, Minecraft 18w48a, Minecraft 18w48b, Minecraft 18w49a, Minecraft 18w50a, Minecraft 19w02a, Minecraft 19w03a, Minecraft 19w03c, Minecraft 19w04a, Minecraft 19w04b, Minecraft 19w05a, Minecraft 19w06a, Minecraft 19w07a, Minecraft 19w08a
Fix Version/s: Minecraft 19w11a

Type: Bug
Reporter: Connor Steppie Assignee: [Mojang] Bartosz Bok
Resolution: Fixed Votes: 66
Labels: bed, block, sleep, sleeping

Attachments: PNG File 2012-10-24_19.54.49.png     PNG File 2013-03-04_22.20.46.png     PNG File 2013-03-04_22.20.58.png     PNG File 2015-07-29_16.02.45.png     PNG File 2018-06-23_00.53.26.png     PNG File 2018-06-23_00.53.35.png     PNG File 2018-06-23_00.53.40.png     PNG File bedroom_layout.png     PNG File bedroom_sleep_bed.png     PNG File bedroom_sleep_floor.png    
Issue Links:
Duplicate
is duplicated by MC-14374 You sometimes sink into the ground wh... Resolved
is duplicated by MC-15313 Slide off bed Resolved
is duplicated by MC-53987 Bed Obstruction Glitch Resolved
is duplicated by MC-68876 when sleeping in a bed i slide off Resolved
is duplicated by MC-70371 I keep slipping off my bed Resolved
is duplicated by MC-80677 Sliding Player (in bed) (bug) Resolved
is duplicated by MC-91497 Players can be pushed out of beds Resolved
is duplicated by MC-96964 if you sleep you slide next to the be... Resolved
is duplicated by MC-96973 Player gets pushed off of bed when sl... Resolved
is duplicated by MC-97834 Bed player offset Resolved
is duplicated by MC-101040 Bug on the Bed Resolved
is duplicated by MC-101791 Sleeping Outside of Bed Resolved
is duplicated by MC-102375 Jumping on the bed while sleeping Resolved
is duplicated by MC-106829 Is click on my bed and i fall in water Resolved
is duplicated by MC-107363 fall to the ground when sleeping (for... Resolved
is duplicated by MC-109695 Player partially slides off bed Resolved
is duplicated by MC-116249 Player glitch when sleeping in bed on... Resolved
is duplicated by MC-116339 Glitching out of Bed Resolved
is duplicated by MC-116556 Sleeping in bed with wood log above c... Resolved
is duplicated by MC-116956 Sleeping under a bookshelf causes wal... Resolved
is duplicated by MC-118563 Sleep walking Resolved
is duplicated by MC-119204 Camera rotation/movement in bed when ... Resolved
is duplicated by MC-119876 Problem with the bed. Resolved
is duplicated by MC-121489 When sleeping in bed with blocks surr... Resolved
is duplicated by MC-132286 Swimming Animation in Bed Resolved
is duplicated by MC-133786 Falling off igloo bed. Resolved
is duplicated by MC-133889 Walking Animation in Beds Resolved
is duplicated by MC-133937 Bed glitch Resolved
is duplicated by MC-134568 Bed Glitches out when bedrock put beh... Resolved
is duplicated by MC-134571 Bed Glich Resolved
is duplicated by MC-134829 Player in bed has wrong position Resolved
is duplicated by MC-134996 Beds Resolved
is duplicated by MC-135209 Beds Resolved
is duplicated by MC-136331 bed glitching Resolved
is duplicated by MC-139385 when you sleep next too ice you roll ... Resolved
is duplicated by MC-139612 I have found a bug where when you sle... Resolved
is duplicated by MC-140796 Getting in bed in an igloo glitches o... Resolved
is duplicated by MC-143083 Sleeping in a bed in 19w04b Resolved
is duplicated by MC-144137 When sleeping under a staircase in a ... Resolved
is duplicated by MC-144363 bed falling Resolved
is duplicated by MC-145148 Odd Bed Behaviour Resolved
Relates
relates to MC-139342 Bed Sleeping Bug Resolved
relates to MC-4389 Many blocks do not cause beds to beco... Open
relates to MC-175299 Player falls out of bed if entering f... Resolved
CHK:
Confirmation Status: Confirmed

 Description   

The bug

Trying to sleep in a bed often can cause the player to fall out of it. The fall direction depends on the layout of the ceiling. One example to reproduce the bug is attached here as a screenshot but there are a lot of different layouts that cause the problem.

The bug is probably caused by some part of the game code thinking the player is still standing (on the bed) and intersecting the ceiling so it tries to move it out there.



 Comments   
Comment by Michal Reindl [ 22/Aug/18 ]

Affects 1.13.1 release

Comment by Shnae Evanzo [ 30/Jul/18 ]

Definitely affects 1.13 official release.

Comment by Connor Steppie [ 27/Jun/18 ]

Affects 1.13-pre4

Comment by LouWestin [ 23/Jun/18 ]

I can vouch that this issue affects 1.13-pre3 tested in igloos.

Comment by Connor Steppie [ 21/Jun/18 ]

Affects 1.13-pre3

Comment by Connor Steppie [ 15/Jun/18 ]

Affects 1.13-pre2

Comment by Connor Steppie [ 04/Jun/18 ]

Affects 1.13-pre1

Comment by Greg Milson [ 03/Jun/18 ]

Affects 18w22c

Comment by Connor Steppie [ 19/Apr/18 ]

Affects 18w16a

Comment by Connor Steppie [ 04/Apr/18 ]

Affects 18w14a

Comment by Connor Steppie [ 14/Mar/18 ]

Affects 18w11a

Comment by Joseph Bruni [ 07/Aug/17 ]

I can confirm this in 1.12.1.

Comment by Alawnely [ 06/May/17 ]

I think that this is caused by the sleeping player's hitbox not changed.

Comment by Keyur Joshi [ 19/Nov/16 ]

Confirmed in 1.11

Comment by null (Inactive) [ 22/Jun/16 ]

Confirmed for 1.10.1.

Comment by null (Inactive) [ 08/Jun/16 ]

Confirmed for 1.10.

Comment by null (Inactive) [ 07/Jun/16 ]

Confirmed for 1.10-pre2.

Comment by null (Inactive) [ 03/Jun/16 ]

Confirmed for 1.10-pre1.

Comment by null (Inactive) [ 26/May/16 ]

Confirmed for 16w21b.

Comment by null (Inactive) [ 25/May/16 ]

Confirmed for 16w21a.

Comment by null (Inactive) [ 18/May/16 ]

Confirmed for 16w20a.

Comment by null (Inactive) [ 05/May/16 ]

Confirmed for 1.9.3-pre3.

Comment by James (inactive) [ 15/Mar/16 ]

Confirmed for 1.9.1-pre3.

Comment by Commander Sealand [ 01/Mar/16 ]

Confirmed for 1.9.0

Comment by SunCat [ 23/Feb/16 ]

Confirmed for 1.9-pre2

Comment by Immaterialise [ 17/Feb/16 ]

Confirmed for 1.9-pre1. It affects coordinates shown in F3 as well.

Comment by Pascal Roeleven [ 26/Jan/16 ]

Confirmed for 16w03a.

Comment by James (inactive) [ 13/Jan/16 ]

Confirmed for 16w02a.

Comment by James (inactive) [ 22/Dec/15 ]

Confirmed for 1.8.9 and 15w51b.

Comment by Commander Sealand [ 02/Dec/15 ]

Confirmed for 15w49a

Comment by Commander Sealand [ 19/Nov/15 ]

Confirmed for 15w47b

Comment by Commander Sealand [ 18/Nov/15 ]

Confirmed for snapshot 15w47a

Comment by Alexander [ 30/Oct/15 ]

Confirmed for 15w44b.

To reproduce, simply build a ceiling like the one in the first screenshot above the bed and try to sleep in it.

Comment by husky2490 [ 29/Jul/15 ]

Confirmed for Snapshot 15w31a

Comment by husky2490 [ 18/May/15 ]

Tested in 1.8.4 and it appears to be client-side as Steve cannot trigger pressure-plates, take damage, or enter portals by falling inside them while sleeping. Further testing underway.

EDIT:
Confirmed to be client-side as command-blocks see you as being in the bed even though you've "fallen out of bed"

Comment by George Gates [ 18/Oct/14 ]

Confirmed for multiple directions in 1.8.1-pre2.

Comment by Andrew Thomas [ 10/Jul/14 ]

Confirmed for 14w28b

Comment by Jeuv [ 09/Jul/14 ]

Confirmed for 14w28a.

Comment by Itouch2 [ 09/Mar/14 ]

Confirmed for 1.7.5 and 14w10c

Comment by Itouch2 [ 23/Feb/14 ]

Confirmed for 08a

Comment by Jeuv [ 15/Jan/14 ]

Reproduced in 14w02c.

Comment by [Mod] Ezekiel (ezfe) [ 15/Jan/14 ]

Is this still a concern in the latest Minecraft version 14w02c? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases.

Comment by Branko [ 19/Nov/13 ]

I can confirm this happeing in 1.7.2, though 2-high ceiling isn't the problem in my case. I have recreated my bedroom area on my testing map (see screenshots) and I spammed sleeping in bed. I get thrown off the bed mainly because of the walls and probably because of the chest and I always face North, though coordinates still say the bed direction (in this case East). I've also tested this with nothing around the bed. You actually have a one-block-high drop on a bed (and maybe a small side offset), when it occurs, thus hitting a wall or ceiling will result sleeping on floor.

Comment by fake fakes [ 22/Jul/13 ]

Still in 1.6.2

Comment by Kevin Reid [ 19/Apr/13 ]

Just noticed this bug for the first time in 13w16a, so I confirm it occurs there. It occurs whenever I sleep in a bed which is in a room with a two-block-high ceiling (which seems a natural thing for a player to do on their first day when they've made a quick little hole-in-a-hill shelter).

Comment by Joshua Torres [ 23/Mar/13 ]

Confirmed 1.5.1

Comment by Chloe Idun Anderson [ 04/Mar/13 ]

Can we get a confirmation of whether this happens in 13w10a and an update to the affected versions?

Comment by 백준영 [ 14/Jan/13 ]

same situation in 1.4.6-1.4.7
in multiplay, when i am in bed, it seemed to be nomal by others, but in my sight,
i fall of with heading crossed direction with bed.
also presure plate not activated whenever the player fall.

Comment by Rolf Redford [ 23/Nov/12 ]

Other weird effect is that you can sleep while flying. However if this bug happens, you fly off into air. When you wake up, you will fly off again.

Comment by Mustek [ 22/Nov/12 ]

Confirmed, player falls out of bed, but sleeping still works.

Comment by Rolf Redford [ 01/Nov/12 ]

Played with it. Weird effect! I made a very tall tower with bed with block above it. could sleep in it, but fell off. I feel long way down but didn't stand or even get hurt. But when I woke up, I fell off bed AGAIN but this time died. lol

Comment by Gravity [ 24/Oct/12 ]

Confirmed in 1.4.2 pre-release, the player will appear to fall or roll out of bed, as if being pushed out of a block, when they lay in a bed below blocks.

Generated at Sun Jan 12 11:49:52 UTC 2025 using Jira 9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13.