mojira.dev
MC-276228

Light-emitting blocks appear dark under certain conditions

The bug

Light-emitting blocks in the world will always appear to be that specific light level, even if they aren't transmitting light (e.g. due to being occluded by tinted glass). However, they do appear dark:

  • When displayed in a minecart

  • When held by an enderman

  • In item form (held by the player in first person, held by the player in third person or another entity, in an item frame, dropped on the ground, etc.)

How to fix

This can be fixed by using the new light_emission parameter for model files - simply set it to the emitted light level in question for that block and it should appear correctly under these conditions. A resource pack to fix this issue is attached.

Linked issues

Attachments

Comments

MrMuskle

I’m able to reproduce the behavior in question. This issue encompasses MC-275787.

muzikbike

Interestingly Bedrock Edition is not affected:

[media]

[media]

[media]

[media]

[media]

[media]

[media]

[media]

[media]

[media]

muzikbike

(Unassigned)

Community Consensus

Platform

Normal

Rendering

1.21.1, 24w35a

Retrieved