Data Packs Game Mechanic

Dynamic Lite Light

  • 1.6k views 10 today
  • save_alt 224 downloads 4 today
Compatibility
Minecraft 1.21
to version
Minecraft 26.2
Changes include
  • Functions
  • 9
  • 10
Required Resource Pack
Antoha256M
Lvl 48Master Professor
166

📖 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>.json` path. 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>.json` path, in any of the three tags `has_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. The `contents` slot 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>.json` path.
  • By adding an item or entity to the `turn_off` tag, it will stop emitting light in the water.
  • By adding to the `turn_on` tag, 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!

3 Update Logs

Update 1.1.0 : by Antoha256M 06/28/2026 9:24:08 amJune 28 @ 1:24 pm UTC

  • 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.body` slot via the `dynamic_lite_light:has_body` entity type tag;
  • Added the `dynamic_lite_light.settings.switch` translate key.
LOAD MORE LOGS

More like this

  Have something to say?

Welcome