mojira.dev

The Bug

The new wall connections added in 20w15a let light pass through in configurations where there is no visible gap.

[media]

Steps to Reproduce

  • Summon a hollow box of blocks around you.

    /fill ~-10 ~-1 ~-10 ~10 ~6 ~10 minecraft:polished_diorite hollow
  • Take note of the light level of your surroundings.

  • Replace the walls of the box with andesite walls.

    /fill ~-10 ~ ~-10 ~10 ~5 ~10 minecraft:andesite_wall replace minecraft:polished_diorite
  • Observe the light level of your surroundings and take note as to whether or not walls allow light to pass through them.

Observed Behavior

Walls allow light to pass through them.

Expected Behavior

Walls would not allow light to pass through them.

Linked issues

Attachments

Comments 18

Also affects v1.16.1

Can confirm in 20w51a.

Can confirm in 21w03a.

Can confirm in 1.16.5 and 21w08b.

Can confirm in 21w15a.

8 more comments

Can confirm in 1.19.

walls are supposed to allow light to pass though I believe...

A block space cannot be partially lit, and partially dark (hence why there's no tinted glass panes).

I'm aware this got priority assigned, but just to make it clear, fixing this requires rewriting the lighting engine to allow partial-block-space light values (for walls, deviding the x/z into 4 areas (.5x.5 block) that each allow different light values would be needed to fix this.

Can confirm in 1.19.2.

Minecraft386882

Affects 1.21.4. 

Zev Seats

(Unassigned)

Confirmed

Platform

Normal

Lighting

20w16a, 20w17a, 20w27a, 20w51a, 21w03a, ..., 1.19.4, 23w17a, 1.20.1, 23w35a, 1.21.4

Retrieved