promotional bannermobile promotional banner

RealisticSunBurn

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

Realistic Sun Burn 1.2

File namerealisticsunburn-1.21.4-neoforge.jar
Uploader
ThomazbThomazb
Uploaded
Mar 18, 2026
Downloads
19
Size
19.3 KB
Mod Loaders
NeoForge
File ID
7775313
Type
R
Release
Supported game versions
  • 1.21.4

Curse Maven Snippet

NeoForge

implementation "curse.maven:realisticsunburn-1485037:7775313"

Learn more about Curse Maven

What's new

 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.

This mod has no additional files