mojira.dev
MC-141306

Beds' sides are not culled/hidden against other blocks

The bug

Bed blocks do not cull against other blocks. This means that if a bed block is standing on top of full blocks, the bottom of the bed's feet will still be rendered, even if they're not visible, which is a waste of performance. It gets even worse if you put blocks around the bed, as then the northern/eastern/southern/western faces of the bed will also still be rendered despite not being visible from any angle, which also wastes performance for no reason.

While the performance impact is very minimal (especially if you only have 1 or 2 beds), it still exists, which is not good. (On a semi-related side-note, the top part of the "feet" are also rendered, despite being inside of the bed and thus always invisible, which likewise also causes an unnecessary (minor) performance loss.)

This is directly caused by MC-122532 being "working as intended". Despite that issue being "working as intended", beds not culling against blocks is definitely not intended, as it causes beds to render sides that should never be visible in the first place in some circumstances (including a very common one, being having a bed on top of a floor).

Related issues

Attachments

Comments

migrated
[media][media]
WeegeeTheDoggo

Confirmed for 19w11b

muzikbike

This also affects the bottoms of sign posts, back of wall signs, many faces of shulker boxes, bottoms of heads, backs of wall heads, bottoms of chests, and many other blocks.

migrated

Affects 20w46a

migrated

Affects 20w49a

Avoma

Can confirm in 21w05b.

Avoma

Can confirm in 21w06a.

Avoma

Can confirm in 1.16.5 and 21w08b.

Avoma

Can confirm in 21w10a. Video attached.

Avoma

Can confirm in 1.17.

Avoma

Can confirm in 1.17.1.

Avoma

Can confirm in 1.18.

Avoma

Can confirm in 1.18.1.

Avoma

Can confirm in 1.18.2.

Avoma

Can confirm in 1.19.

Avoma

Can confirm in 1.19.2.

migrated

(Unassigned)

Community Consensus

Gameplay

Low

Textures and models

bed

Minecraft 18w50a, Minecraft 19w11b, 20w49a, 1.16.5, 21w06a, ..., 1.19.4, 1.20.1, 1.20.4, 1.21, 1.21.4

Retrieved