RealisticSunBurn

Undead mobs burn based on the real sun direction, not just sky light. Walls, buildings and terrain now cast real shadows.

File Details

Realistic Sun Burn 1.2

  • R
  • Mar 18, 2026
  • 19.10 KB
  • 32
  • 1.20.4
  • Forge

File Name

realisticsunburn-1.20.4-forge.jar

Supported Versions

  • 1.20.4

Curse Maven Snippet

Forge

implementation fg.deobf("curse.maven:realisticsunburn-1485037:7775309")
Curse Maven does not yet support mods that have disabled 3rd party sharing

Learn more about Curse Maven

 Bug Fixes

  - Fixed dedicated server crash - The mod failed to load on dedicated servers with Attempted to load class net/minecraft/client/gui/screens/Screen for invalid dist DEDICATED_SERVER. The config screen registration is now properly isolated to the client dist and will never be touched by the server.
  - Fixed /sunburn test reporting wrong results - The command was using a simplified transparency check (lightBlock == 0 only), which differed from the actual burn logic. It now uses the exact same check as the real sun burn calculation, including glass block/pane detection. Results from /sunburn test now match actual moaun exposure cache grew indefinitely over long sessions as mobs spawned and despawned. Entries are now removed immediately when an entity leaves the level (death, teleportation, chunk unload), preventing memory buildup on long-running servers.

  Improvements

  - Config screen: Ray Distance slider now goes up to 512 blocks - The slider was previously capped at 256 even though the config file supported up to 512. Both are now in sync.