File Details
Realistic Sun Burn 1.1
- R
- Mar 13, 2026
- 17.72 KB
- 188
- 1.20.1
- Forge
File Name
realisticsunburn-1.1.jar
Supported Versions
- 1.20.1
Curse Maven Snippet
Sunlight transparency - full rewrite
- Removed all hardcoded block type checks (no more string matching on block names, no more OPEN property check, no
more FenceGateBlock special case)
- Removed reliance on propagatesSkylightDown for transparency detection — this API Minecraft retournait true pour les
blocs fins (trappes, portes) non pas parce que le matériau est transparent, mais parce que la forme n'est pas un cube
plein, ce qui causait des faux positifs
- Sunlight geometry is now handled entirely by ClipContext.Block.OUTLINE raycast — the actual block hitbox determines
if a ray is physically blocked, regardless of block thickness or orientation
- Material transparency now uses Forge tags forge:glass and forge:glass_panes — covers all vanilla and modded glass
automatically without hardcoding
Bug fixes
- Fixed: zombies burning through closed wooden trapdoors
- Fixed: zombies burning through closed wooden doors
- Fixed: zombies incorrectly protected by open glass trapdoors (now transparent regardless of orientation since glass
is transparent by material)
- Fixed: any thin non-glass block (slabs, trapdoors, bars, etc.) incorrectly letting sunlight through
Compatibility
- All modded glass blocks and glass panes using standard Forge tags are now automatically recognized as transparent
- Tinted glass correctly blocks sunlight (opaque by design)