Community listing page, reviews here may not be monitored by the author.
RealisticSunBurn
No reviews yet
Undead mobs burn based on the real sun direction, not just sky light. Walls, buildings and terrain now cast real shadows.
Includes quality of life improvements and small tweaks to enhance and customize gameplay.
Forge is a popular mod loader for versions 1.1+ of Minecraft.
Neoforge is a fork of the Minecraft Forge available for versions 1.20.1+ of Minecraft. Many Forge mods are compatible with Neoforge and vice versa.
Fabric is a mod loader for versions 1.14+ of Minecraft, particularly popular for client side and optimization mods.
Community voices
Reviews
Filters
Click once to include, again to exclude, again to clear
No reviews yet. Be the first to review this project!
Get it on
Available Platforms
About
Project Details
For authors
Embed Badge
If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.
Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.
Identifiers
Platform IDs
Resources
External Links
About
Description
Realistic Sun Burn
Tired of zombies burning under a roof just because the sky light level says so? This mod completely overhauls the undead sun burn mechanic to use directional raycasting based on the sun's real position in the sky.
WHAT DOES IT DO?
In vanilla Minecraft, undead mobs burn in daylight based on a simple vertical sky light check. This means a zombie under a single block will always be safe, but a zombie behind a 10-block thick wall in the morning sun will still burn, because the game only looks straight up.
Realistic Sun Burn replaces this with a proper raycast from the mob's head toward the actual sun position:
- Morning/Evening: The sun is low on the horizon. Walls and buildings cast long shadows that protect mobs.
- A single block overhead won't protect a mob if the sun comes from the side.
- Deep holes and canyons protect mobs when the sun can't reach them at the current angle.
- Glass and transparent blocks let sunlight through, just like real life.
FEATURES
- Directional sun raycasting: mobs only burn when in direct line-of-sight with the sun
- Works with ALL mobs, vanilla and modded
- Optimized: staggered checks (2x per second per mob) with result caching, minimal performance impact
- Debug visualization: see the actual raycast with particles in-game
- In-game config screen accessible from the Mods menu
COMMANDS
All commands require operator permission (level 2):
/sunburn debug
Toggle debug particles. Orange flames = mob burns. Blue flames = mob in shadow. Smoke = the block that blocks the ray.
/sunburn info
Display current sun direction, elevation angle, and time of day.
/sunburn test
Test the mob you're looking at and see the full raycast result in chat.
CONFIGURATION
Accessible via Mods menu > Realistic Sun Burn > Config:
- Ray Distance (default 384, range 16-512): Maximum raycast distance in blocks.
- Check Interval (default 10, range 1-40): Ticks between checks per mob. 10 = twice per second.
- Particle Density (default 1.5, range 0.5-5.0): Spacing between debug particles in blocks.
COMPATIBILITY
- Forge 1.20.1 (Forge 47.x)
- All modded mobs that use the vanilla sun burn system
- Shader packs: this mod works server-side, independent of shaders
- Multiplayer: works on dedicated servers
HOW IT WORKS
1. A Mixin intercepts the vanilla isSunBurnTick() method, cancelling the default behavior.
2. The sun's direction is calculated from the world's celestial angle.
3. A ray is traced from the mob's eye position toward the sun.
4. Transparent blocks (glass, flowers, torches) are skipped. Opaque blocks stop the ray.
5. If nothing blocks the ray, the mob burns. If blocked, the mob is safe in the shadow.
Versions
Files
Relations
Project Relations
More like this
Similar Mods
Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.
On ModDex
Community snapshot
By the numbers
Statistics
Want to reach Minecraft players?
We're looking for a server hosting partner to feature here and other parts of the site. Interested? Send us a message!
Get in touchGet it on
Available Platforms
On ModDex
Community snapshot
By the numbers
Statistics
Resources