HomeJavaDatapacksSunlight Burn
Sunlight Burn
Sunlight Burn — screenshot 1

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:

Spoiler - Obtaining & Using The Sun Stone

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 Enchantment

You 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

Quick facts

Install steps are the general flow for this file type — see the MC Java Mods guides for the full walkthrough.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more