

Note: This datapack requires the associated resource pack to display the texture for the Sun Stone. Otherwise, you'll get a purple and black cube.
Overview
This datapack adds a challenge where the player will burn in sunlight. This datapack also adds a new item and enchantment to help. When burning, you will take 1 heart of damage per tick. You will also get the blindness effect.
To make things a bit easier, the time will be set to midnight when you first generate a world with this pack. This is to give you enough time to gather surface resources and find a cave. Although, as a side effect, this time change will occur if you add the datapack to an existing world as well.
You can avoid sun damage in the following ways:
- Hiding in caves or under blocks.
- Avoid traveling during the daytime.
- Swimming in water.
- Using the Sun Stone.
- Using the Sun Protection enchantment.
The Sun Stone can be found in Desert Pyramid chests. Once obtained, you must hold the Sun Stone in either your main hand or your off hand to work.
Alternatively, you can also use this command:
/function sunlight_burn:give_sun_stone
Note: Other datapacks that override the loot chests for Desert Pyramids might be incompatible.
Spoiler - Obtaining & Using the Sun Protection EnchantmentYou have a rare chance to find an enchantment book for Sun Protection in End City chests. You can only apply this enchantment to helmets.
Note: Other mods or datapacks that override End City chests might be incompatible.
Disabling/Enabling Sun Damage
To disable the Sunburn effect, run:
/function sunlight_burn:disable
And to re-enable:
/function sunlight_burn:enable
Planned Changes
- Backporting to versions 1.21 -> 1.21.3.
- Implementing a different way to handle loot tables for compatibility.
- Having sun damage reduces the durability of helmets with the Sun Protection enchantment.
- Increase damage amount in hot biomes like deserts and badlands.
- Edition: Minecraft Java
- File type: .jar
- Minecraft versions listed: 1.21.4, 1.21.5, 1.21.6
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Modrinth — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — see the MC Java Mods guides for the full walkthrough.
- Downloads as Sunlight Burn V1.0.zip
- Download size: 13 KB
- Download link checked 21 Aug 2026 — working
These come from our own check of the pack file, not from the source page.