RealisticSunBurn

Quick rating

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.

QoL & Tweaks
Mod Loaders
Forge
NeoForge
Fabric
Minecraft
26.2

Community voices

Reviews

List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Show per page
10
25
50
Delete this review?

This removes your review from the project. You can write a new review after.

Review submitted for moderation

Your review has been sent to moderators, who will check that it meets our guidelines before it appears publicly.

No reviews yet. Be the first to review this project!

Get it on

Available Platforms

About

Project Details

Type
Mod
Latest Version
Realistic Sun Burn 1.3.2 - NeoForge 26.2

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.

Custom banner text
ModDex rating badge preview

Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.

Identifiers

Platform IDs

CurseForge ID

Resources

External Links

Source Issues Wiki Discord

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.

Screenshots

Gallery

  • Not burning hiding behind blocks
    Not burning hiding behind blocks Not_burning_hidind_behind_blocks.png
  • Not burning with big wall
    Not burning with big wall Not_burning_big_wall.png
  • Burning little wall & top
    Burning little wall & top Burning_little_wall_&_top.png
  • Burn in cave
    Burn in cave burning_in_cave.png

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

0
Ratings
0
Followers
0
In stacks

By the numbers

Statistics

~5,000
Downloads
Last Updated
Created
Last synced
When ModDex last fetched this project from CurseForge or Modrinth. Every project is re-checked on a schedule, and any project that ships a new file is synced automatically within hours of the release.
New file updates sync automatically
How syncing works