Trees/Leaves too bright under big platform
The bug
Trees/Leaves too bright under big platform
To reproduce
- Spawn a big stone platform (~50x50 to clearly see it)
- Reload world to fix client syncing issues
- Notice that the leaves (or any other semi-transparent block) seem to emit light
The reason for this (and the solution) can be found here: https://github.com/MinecraftForge/MinecraftForge/pull/3871
Note: This is unrelated to MC-55730
Linked Issues
Created Issue:
Trees/Leaves too bright under big platform
Steps to reproduce:
- Spawn a big stone platform (~50x50 to clearly see it)
- Reload world to fix client syncing issues
- Notice that the leaves (or any other semi-transparent block) seem to emit light
The reason for this (and the solution) can be found here: https://github.com/MinecraftForge/MinecraftForge/pull/3871
Note: This is unrelated to MC-55730
Steps toreproduce:
- Spawn a big stone platform (~50x50 to clearly see it)
- Reload world to fix client syncing issues
- Notice that the leaves (or any other semi-transparent block) seem to emit light
The reason for this (and the solution) can be found here: https://github.com/MinecraftForge/MinecraftForge/pull/3871
Note: This is unrelated to MC-55730
The bug
Trees/Leaves too bright under big platform
To reproduce
- Spawn a big stone platform (~50x50 to clearly see it)
- Reload world to fix client syncing issues
- Notice that the leaves (or any other semi-transparent block) seem to emit light
The reason for this (and the solution) can be found here: https://github.com/MinecraftForge/MinecraftForge/pull/3871
Note: This is unrelated to MC-55730
relates to
The bug
Trees/Leaves too bright under big platform
To reproduce
- Spawn a big stone platform (~50x50 to clearly see it)
- Reload world to fix client syncing issues
- Notice that the leaves (or any other semi-transparent block) seem to emit light
The reason for this (and the solution) can be found here: https://github.com/MinecraftForge/MinecraftForge/pull/3871
Note: This is unrelated to
MC-55730The bug
Trees/Leaves too bright under big platform
To reproduce
- Spawn a big stone platform (~50x50 to clearly see it)
- Reload world to fix client syncing issues
- Notice that the leaves (or any other semi-transparent block) seem to emit light
The reason for this (and the solution) can be found here: https://github.com/MinecraftForge/MinecraftForge/pull/3871
Note: This is unrelated to
MC-55730
The relevant code lines that cause the issue are
IBlockState iblockstate1 = this.getBlockState(pos); int blockLight = iblockstate1.getBlock().getLightValue(iblockstate1, this, pos); int j2 = lightType == EnumSkyBlock.SKY ? 0 : blockLight; int k2 = iblockstate1.getBlock().getLightOpacity(iblockstate1, this, pos); if (k2 >= 15 && blockLight > 0) { k2 = 1; }
inside World.getRawLight(...). The opacity for solid light sources is set to 1 (for whatever reason...).
However, MC-3961 is mainly caused by an unrelated issue. See MC-117067 for a detailed description and solution.

