Compatibility
Minecraft: Java Edition
Platforms
Supported environments
Links
Creators
Details
š 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>.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_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, 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>.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!
š Links
You can leave a comment on the PMC page!
Russian discord server of datapackers / Š ŃŃŃŠŗŠøŠ¹ Š“ŠøŃŠŗŠ¾ŃŠ“ ŃŠµŃŠ²ŠµŃ Š“Š°ŃŠ°ŠæŠ°ŠŗŠµŃов
ŠŃли Š²Ń Š“Š°ŃŠ°ŠæŠ°ŠŗŠµŃ, ŠøŃŠøŃе Š°Š“ŠµŠŗŠ²Š°ŃŠ½Š¾Š¹ ŠæŠ¾Š¼Š¾ŃŠø, полезнŃŃ ŃŠµŃŃŃŃŠ¾Š² Šø возможноŃŃŠø поГелиŃŃŃŃ ŠæŃŠ¾ŠµŠŗŃами, ŃŠ¾ вам на Š”Š²ŠøŠ½Š”Š¾ŃŠ·: ŠŠ°Ńапаки! ŠŃо ŃŠµŃвеŃ-Š¾ŃŠ²ŠµŃвление Š¾Ń ŠøŠ·Š½Š°ŃŠ°Š»Ńного Š·Š°Š±ŃоŃенного ŃŠµŃŠ²ŠµŃŠ° ZeroCaty "Š”Š²ŠøŠ½Š”Š¾ŃŠ·". Š”ŠµŠ¹ŃŠ°Ń Š¼Ń Š½Šµ имеем Šŗ Š½ŠµŠ¼Ń Š½ŠøŠŗŠ°ŠŗŠ¾Š³Š¾ Š¾ŃŠ½Š¾ŃениŃ.





