Luminance bug on custom fluid

Published by Memeseus on
Status
Works as designed
Issue description

Luminance isn't working on custom liquid source blocks, but when the liquid is in a flowing state it works.

I made a dimension with glowing fluid, the lakes were daek but the waterfalls did.

The source blocks remain dark no matter what

Issue comments

I have tested and the source block is the brightest one and this is how it is meant to work in Forge as less fluid means less light.

More info: https://www.minecraftforge.net/forum/topic/10245-fluid-luminosity-only-working-on-source-block/

The BlockFluidClassic implementation scales the light value so that the farther away from the source you are the lower the light value gets (which makes sense, since there is less liquid there).