90% of ad revenue goes to creators. Go ad-free while supporting creators with Modrinth Plus. Subscribe today!
📖 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 the hands, on the head, 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 has the center of the light source of the entity's eye. 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 tagshas_head
,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. Thecontents
slot is available for items, item frames, shot arrows, tridents, spectral arrows, 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/<name>.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!
🔗 Links
You can leave a comment on the PMC page!