[MC-4389] Many blocks do not cause beds to become obstructed, causing rendering glitches Created: 10/Dec/12  Updated: 04/Feb/24

Status: Open
Project: Minecraft: Java Edition
Component/s: None
Affects Version/s: Minecraft 1.4.4, Minecraft 1.4.5, Snapshot 12w49a, Snapshot 12w50a, Snapshot 12w50b, Minecraft 1.4.6, Minecraft 1.4.7, Snapshot 13w04a, Minecraft 1.5, Snapshot 13w11a, Minecraft 1.5.1, Snapshot 13w16a, Minecraft 1.5.2, Snapshot 13w18b, Snapshot 13w18c, Snapshot 13w19a, Snapshot 13w25c, Minecraft 1.6, Minecraft 1.6.1, Minecraft 1.7.4, Minecraft 14w05b, Minecraft 14w06b, Minecraft 14w07a, Minecraft 14w08a, Minecraft 1.7.5, Minecraft 1.7.9, Minecraft 14w17a, Minecraft 14w18b, Minecraft 1.8, Minecraft 1.8.1-pre3, Minecraft 15w47c, Minecraft 1.9 Pre-Release 1, Minecraft 1.10.2, Minecraft 16w32a, Minecraft 16w32b, Minecraft 16w33a, Minecraft 16w35a, Minecraft 1.11.2, Minecraft 1.12 Pre-Release 6, Minecraft 1.12.1, Minecraft 1.13, Minecraft 18w30b, Minecraft 18w31a, Minecraft 18w32a, Minecraft 18w33a, Minecraft 1.13.1-pre1, Minecraft 1.13.1, Minecraft 1.13.2, Minecraft 18w43b, Minecraft 18w45a, Minecraft 18w46a, Minecraft 18w47a, Minecraft 18w47b, Minecraft 18w48a, Minecraft 18w48b, Minecraft 18w49a, Minecraft 18w50a, Minecraft 19w02a, Minecraft 19w03a, Minecraft 19w03b, Minecraft 19w03c, Minecraft 19w04a, Minecraft 19w06a, Minecraft 19w07a, Minecraft 19w08a, Minecraft 19w13a, Minecraft 19w13b, Minecraft 19w14a, Minecraft 19w14b, Minecraft 1.14 Pre-Release 2, Minecraft 1.14 Pre-Release 5, Minecraft 1.14.2 Pre-Release 3, Minecraft 1.14.3 Pre-Release 3, Minecraft 1.14.3 Pre-Release 4, 19w35a, 19w36a, 19w37a, 19w38b, 19w39a, 19w40a, 19w41a, 19w42a, 19w44a, 1.15 Pre-release 1, 1.15 Pre-Release 2, 1.15 Pre-release 3, 1.15 Pre-release 4, 1.15 Pre-release 6, 1.15 Pre-release 7, 1.15.1 Pre-release 1, 1.15.2 Pre-Release 1, 1.15.2 Pre-release 2, 20w06a, 20w07a, 20w08a, 20w09a, 20w10a, 20w11a, 20w12a, 20w21a, 1.16 Pre-release 2, 1.16 Pre-release 3, 1.16.1, 20w28a, 20w29a, 20w30a, 1.16.2 Pre-release 1, 1.16.2, 1.16.3 Release Candidate 1, 1.16.3, 1.16.4, 20w46a, 20w48a, 20w49a, 20w51a, 21w03a, 21w05b, 21w06a, 21w20a, 1.17 Pre-release 1, 1.20.4, 24w05b
Fix Version/s: None

Type: Bug
Reporter: Connor Steppie Assignee: Unassigned
Resolution: Unresolved Votes: 27
Labels: bed, entity-block-collision-and-intersection

Attachments: PNG File 2012-12-09_20.34.29.png     PNG File 2012-12-09_20.34.39.png     PNG File 2012-12-10_22.23.36.png    
Issue Links:
Duplicate
is duplicated by MC-120587 You can fall out of a bed when there'... Resolved
is duplicated by MC-129805 Render glitch when you enter a bed th... Resolved
Relates
relates to MC-147805 Player cannot respawn if slabs are ab... Open
relates to MC-139342 Bed Sleeping Bug Resolved
relates to MC-112 Blocks/entities above beds push playe... Resolved
relates to MC-208582 Player can respawn many blocks above ... Resolved
CHK:
Confirmation Status: Confirmed
Category:
Rendering
Mojang Priority: Low
Area: Platform

 Description   

The bug

Drop an anvil on a bed. You can still sleep in the bed when you shouldn't be able to. This also works with other things such as pistons, blocks, enchantment tables, etc. As of 1.4.6, you are tossed aside with blocks atop beds, yet you are still allowed to sleep.

A solution for this could be to introduce an "obstructed" blockstate to beds, which applies when certain blocks are above it. Obstruction already happens with solid blocks. Logic like this could also be extended to chests and other blocks, causing them too to display hotbar text to guide new players.



 Comments   
Comment by [Mod] Avoma [ 12/Feb/21 ]

Can confirm in 21w06a.

Comment by [Mod] Avoma [ 04/Feb/21 ]

Can confirm in 21w05b.

Comment by [Mod] Avoma [ 21/Dec/20 ]

Can confirm in 20w51a.

Comment by [Mod] Avoma [ 25/Nov/20 ]

Can confirm in 20w48a.

Comment by pulpetti [ 21/Jul/20 ]

In 20w29a

Comment by pulpetti [ 06/Jul/20 ]

Confirmed in 20w27a

Comment by pulpetti [ 06/Jul/20 ]

Confirmed in 1.16.1

Comment by [Mod] Asteraoth [ 01/Dec/18 ]

Gave the ticket to Awesoman3000.

Comment by Connor Steppie [ 30/Nov/18 ]

Affects 18w48b, can I request ownership of the ticket?

Comment by Connor Steppie [ 29/Nov/18 ]

Affects 18w48a

Comment by Connor Steppie [ 25/Nov/18 ]

Affects 18w47b

Comment by Connor Steppie [ 21/Nov/18 ]

Affects 18w47a

Comment by [Mod] Asteraoth [ 01/Aug/18 ]

Confirmed for 18w31a

Comment by [Mod] Asteraoth [ 27/Jul/18 ]

Confirmed for 18w30b

Comment by [Mod] bemoty [ 09/Aug/17 ]

Can confirm for MC 1.12.1. Anvil can't be dropped from higher than one block though.

Comment by Fabian Röling [ 23/Jul/16 ]

Do I understand that correctly? It's not supposed to be able to sleep with blocks above the bed and that is the bug here?

Comment by Kyle Bartush [ 04/Jul/16 ]

Confirmed for:
1.10 pre releases
1.10
1.10.1

Comment by Immaterialise [ 17/Feb/16 ]

Confirmed for 1.9-pre1

Comment by Hikaru Yashima [ 21/Nov/15 ]

Confirmed in 15w47c.

Comment by yut951121 [ 20/Dec/14 ]

Cannot confirm in 1.8.2-pre1.

Comment by Itouch2 [ 07/May/14 ]

Confirmed for 14w18b.

Comment by Itouch2 [ 01/Mar/14 ]

Still a concern in 1.7.5 and 1.8.

Comment by [Mod] Ezekiel (ezfe) [ 29/Jun/13 ]

Is this still a concern in the current Minecraft version? 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 Kumasasa [ 17/Apr/13 ]

@Bob Joe: Please stop bumping, this ticket is still open.

Comment by ReduxMC [ 17/Apr/13 ]

bump

Comment by Nerdyboy6057 [ 11/Dec/12 ]

I do believe a more definitive title would be "Sleeping with Blocks Atop Beds"

Comment by Tails [ 11/Dec/12 ]

Confirmed.

Comment by Tails [ 11/Dec/12 ]

Yes do this please.

Comment by ReduxMC [ 11/Dec/12 ]

Should I adjust the title and summary then?

Comment by Tails [ 11/Dec/12 ]

It doesn't even matter if it's an anvil, you can sleep even when there are 2 dirt blocks right above the bed.

Comment by Nerdyboy6057 [ 11/Dec/12 ]

Perhaps the anvil in not considered to be 'in the way' because it is an entity?

Comment by ReduxMC [ 11/Dec/12 ]

The third picture now shows what it looks like sleeping with the anvil on the head section.

Comment by ReduxMC [ 10/Dec/12 ]

You can still sleep. When your sleeping the anvil also shows too.

Comment by Pixelgraph [ 10/Dec/12 ]

Tested. You can still sleep and set spawn when anvil dropped at head section.

Comment by Kumasasa [ 10/Dec/12 ]

Can you still sleep in the bed, when the anvil is dropped at the head section of the bed ?

Generated at Sun Jan 12 12:04:24 UTC 2025 using Jira 9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13.