跳到正文

Dynamic Lite Light

作者:Antoha256M

Glow squid emit light! Easy, fast and beautiful mechanics.

收藏

截图

介绍

中文介绍正在准备中,下面暂时显示原文。

📖 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!

#

🔗 Extra Links

You can leave a comment on the PMC page!

planetminecraft_logo

Russian discord server of datapackers / Русский дискорд сервер датапакеров

Если вы датапакер, ищите адекватной помощи, полезных ресурсов и возможности поделиться проектами, то вам на СвинСоюз: Датапаки!
Это сервер-ответвление от изначального заброшенного сервера ZeroCaty “СвинСоюз”. Сейчас мы не имеем к нему никакого отношения.

SvinSoyuz

常见问题

Dynamic Lite Light 支持哪些 Minecraft 版本?

Dynamic Lite Light 支持 Minecraft Java 版 1.21–26.3,共 16 个版本,可用的加载器:Fabric / NeoForge / Quilt。下载时注意选择和你游戏版本一致的文件。

Dynamic Lite Light 怎么安装?

把下载的 .zip 文件(不用解压)放进游戏目录的 resourcepacks 文件夹,进游戏后在「选项 → 资源包」里把它移到右边启用。

评论

登录后评论和评分

Antoha256M 的其他作品

查看全部 →