📖 About
Let there be light! Now some entities and items will emit some light level.
Features:
- Items emit light as an entity on the ground, in hands, on head, on body and in a item frame;
- Some items and entities can only emit light in or out of water;
- There is a global setting for delay updating the light position.
- An item in hand or on head/body has the center of the light source of the entity's eyes. The remaining cases have the center of the light source at the feet.
🧩 Add-ons
You can add items or entities that emit light of a certain level.
Entities
Entity settings are divided into item-dependent and independent ones.
- For independents, there are 15 entity_type tags along the
dynamic_lite_light:light_level/<1‑15>.jsonpath. By adding an entity to the tag, it will emit light of this level; - For the item-dependent, you need to add the entity to the entity_type tag along the
dynamic_lite_light:<name>.jsonpath, in any of the three tagshas_head,has_body,has_hands,has_contents, so that the check is for the presence of an item on head, in hands and in contents, respectively. P.S. Thecontentsslot is available for items, item frames, shot arrows, spectral arrows, tridents, fireballs, and small fireballs.
Items
In order for an item to emit light, it must be added to one of the item tags along the dynamic_lite_light:light_level/<1‑15>.json path.
Water sensitivity
You can add sensitivity to water to both items and entities.
- The entity_type and item tags follow a similar
dynamic_lite_light:water_sensitive/<turn_off|turn_on>.jsonpath. - By adding an item or entity to the
turn_offtag, it will stop emitting light in the water. - By adding to the
turn_ontag, it will emit light only in water.
⛔️ Known Issues
- Perhaps not all entities with a head or hands slot will emit light. If you encounter such an entity, let me know in Discord or PMC comments!
🔗 Extra Links
You can leave a comment on the PMC page!
Russian discord server of datapackers / Русский дискорд сервер датапакеров
Если вы датапакер, ищите адекватной помощи, полезных ресурсов и возможности поделиться проектами, то вам на СвинСоюз: Датапаки! Это сервер-ответвление от изначального заброшенного сервера ZeroCaty "СвинСоюз". Сейчас мы не имеем к нему никакого отношения.
How to Install Dynamic Lite Light (Datapack)
Dynamic Lite Light by Antoha256M is verified for Datapack, Fabric, Minecraft, Neoforge, Quilt across Minecraft versions 1.21, 1.21.1, 1.21.10, 1.21.11, 1.21.2, 1.21.3, 1.21.4, 1.21.5 (latest release: 1.1.0, file size: 15 KB). Follow the steps below to install it safely from ModCraft.tv:
- Click the Download button above and select your Minecraft version (1.21, 1.21.1, 1.21.10, 1.21.11, 1.21.2, 1.21.3, 1.21.4, 1.21.5) and platform (Datapack, Fabric, Minecraft, Neoforge, Quilt).
- Make sure you have the compatible loader or environment installed for Datapack, Fabric, Minecraft, Neoforge, Quilt.
- Move the downloaded Dynamic Lite Light file into your Minecraft
.minecraft/saves/<world>/datapacksfolder and launch the game.
All Versions
+ Add Version- Just supports up to 26.3.
- Just supports up to 26.3.
- Just supports up to 26.3.
- Sulfur Cubes will now be able to emit light with blocks emitting light (26.2+ only);
- The switch parameter has been added to the settings, for convenient switching off and on of the light.
- Technical changes**:
- Added support for the
armor.bodyslot via thedynamic_lite_light:has_bodyentity type tag.
- Added the
dynamic_lite_light.settings.switchtranslate key.
- Sulfur Cubes will now be able to emit light with blocks emitting light (26.2+ only);
- The switch parameter has been added to the settings, for convenient switching off and on of the light.
- Technical changes**:
- Added support for the
armor.bodyslot via thedynamic_lite_light:has_bodyentity type tag.
- Just supports 1.21.9 to 1.21.11.
- Just supports 1.21.9 to 1.21.11.
- Dynamic light.
- Dynamic light.

