
Light passes through blocks
RomanPro100 opened this issue ยท 0 comments
Describe the bug
Basically, the title. When a player holds a light-emitting item, or when entities glow, the light passes through walls.
To Reproduce
With glowing entities:
- Make a chamber out of non-transparent blocks
- Spawn a mob inside of it (e.g. glow squid)
- Give it a Glowing effect if it doesn't glow
- Close the chamber
- See the light passing through the chamber
With players (using the freecam mod, but I believe it can be tested in multiplayer without the mod):
- Make a chamber out of non-transparent blocks
- Set the freecam outside the chamber
- Go inside and close the chamber
- Hold a light-emitting item (e.g. torch)
- Switch to the freecam
- See the light passing through the chamber
Expected behavior
No light from the mob/player is visible
Screen recordings
2024-07-04.10-42-54.mp4
2024-07-04.10-49-18.mp4
2024-07-04.11-18-40.mp4
Desktop
- OS: Linux Mint 21.3
- Minecraft: 1.21
- Fabric Loader version: 0.15.11
- Mods:
- Fabric API 0.100.4+1.21
- Freecam (Modrinth edition) 1.3.0-beta1+mc1.21
- ObsidianUI 0.2.7+mc1.21
- RyoamicLights 0.2.9+mc1.21
- Version: 0.2.9+mc1.21
- Branch: 1.21.x-architectury