Don't Die in Sun
A Fabric mod for Minecraft 1.21.11 that prevents hostile mobs from burning in direct sunlight.
What it does
Mobs tagged with #minecraft:burn_in_daylight (zombies, skeletons, husk variants, etc.) normally catch fire and take damage when exposed to sky light above level 7. This mod disables that behavior entirely — affected mobs will no longer ignite or take daylight damage, regardless of time of day, weather, or biome.
- Zombies / Zombie Villagers / Drowned — no longer burn in sunlight
- Skeletons / Strays / Wither Skeletons — no longer burn in sunlight
- Phantoms — no longer burn in sunlight
- Husks — already immune; unchanged
- Fire/lava damage, magma blocks, campfires — completely unaffected
Requirements
| Dependency | Version |
|---|---|
| Minecraft | 1.21.11 |
| Fabric Loader | ≥ 0.18.1 |
| Fabric API | ≥ 0.141.5+1.21.11 |
| Java | 21 |
Installation
- Install Fabric Loader 0.18.1+ for Minecraft 1.21.11
- Place
fabric-api-0.141.5+1.21.11.jarin yourmods/folder - Place
dontdieinsun-1.0.0.jarin yourmods/folder - Launch the game
No configuration files, commands, or additional setup required.
Compatibility
- Client-side optional — works on dedicated servers without client installation
- No known conflicts with other mob-behavior or spawn mods
- Datapack safe — does not modify entity tags; respects
#minecraft:burn_in_daylighttag additions from datapacks
https://www.youtube.com/@xamirj

