mojira.dev
MC-248688

Falling translucent blocks aren't affected by fog correctly

Found while testing MC-248682 and MC-248684. Closely relates to MC-244190 as a result.

The bug

Falling block entities which are assigned the IDs of translucent blocks such as slime blocks, honey blocks, ice, stained glass and tinted glass remain visible even at distances that cause other parts of the world such as blocks, entities and non-translucent blocks being moved by pistons to appear foggy.

How to reproduce

  1. Set the render distance to a sufficiently low value

  2. /summon falling_block ~ ~ ~ {BlockState:{Name:"minecraft:red_stained_glass"},Time:-2147483648,NoGravity:1}
  3. Place blocks very close to the summoned entity for comparison

  4. Travel at a distance that results in the entity being partially occluded by fog

Expected results

Both the entity and blocks would appear foggy to an identical extent.

Actual results

The entity does not appear to get foggy at all, even when the blocks are.

Linked issues

Attachments

Comments 2

Can confirm in 1.18.2.

[media][media]

Can confirm in 1.19.

muzikbike

Håkan Wallin

Confirmed

Platform

Low

Rendering

fog

1.18.2 Pre-release 1, 1.18.2, 1.19, 1.19.4, 23w18a, 24w33a, 1.21.4

25w20a

Retrieved