Minecraft 1.17.x-26.2.x 的服务端动态光照
➜ 该模组的整合包版本可在此处找到
? 特性
本模组无需任何客户端要求即可为 Minecraft 带来动态光照。玩家、生物手持或穿戴的实体和物品(如火把、萤石或附魔装备),以及放置在物品展示框中的物品,都将使用在快照 21w13a 中添加的光源方块来发光。
- 开箱即用的 50+ 种支持原版物品
- 多种光照等级:3、6、9、12 和 15
- 受水影响的行为,部分物品会有声音反馈
- 附魔物品默认发光(光照等级 6),火附加成、激流、引雷有特殊情况(光照等级 9)
- 紫水晶镶边的盔甲会发光
- 携带支持物品的生物、掉落物方块和显示实体可以发光
Curios API 支持用于模组化的背包槽位 请参阅问题 #76
由于该项目完全在服务端运行,加入安装了 Dynamic Lights 的服务器的玩家将无需在其客户端安装任何内容即可生效!不过,您仍可在单人世界中仅使用客户端版本的模组。加入未安装 Dynamic Lights 的服务器的话则不会产生任何效果。
➜ 如需查看完整的受支持物品与实体列表及可用设置,请查阅维基
ℹ️ 限制
由于其核心是一个数据包,与其他纯模组解决方案相比存在一些局限性。
- 移动时动态光照可能会出现卡顿。本项目完全依赖原版的光源方块,而这些方块被限制在方块网格上。因此无法实现方块间的平滑过渡
- 该数据包目前使用标记实体来跟踪动态光照的位置。如果您或诸如 EntityTrackerFixer 之类的插件清除了这些实体,将会遗留光源方块。请参阅问题 #25
- 遗憾的是,原版光源方块无法被活塞推动,也不受方块爆炸伤害的影响。这可能导致某些红石装置故障。如有任何问题请报告,我会尽力防止常见情况发生。例如已修复的问题 #51、#15、#12、#10
- 在 Minecraft 1.21.4 及以下版本中,动态光照更新始终会触发方块更新。这可能导致受重力影响的悬浮方块(如沙子或沙砾)掉落
- 一些忽略原版光照贴图的光影包(如 Rethinking Voxels)将不会显示动态光照。请参阅问题 #59
- 动态光照无法在非实心方块占据的 1x1 方块空间内工作,因为根本没有空间放置光源方块。请参阅问题 #39 和 #43
- 每个玩家的动态光照是全局运行的。此处有详细解释
? 安装与使用
下载模组并将 mod .jar 文件放入您的 .minecraft/mods 文件夹中。
与 Dynamic Lights 一起安装 MidnightLib,以便在所有世界中拥有全局设置菜单。
要管理设置、重置或卸载数据包,请使用 /trigger tschipcraft.menu 或 /function #tschipcraft:menu。
? 兼容性

Forge 仅原生支持至 Minecraft 1.21.5。
本项目遵循 Smithed 以及关键的 MC Datapacks Discord 服务器 规范,以确保数据包的兼容性。
? 外部链接
? 合作伙伴优惠
想要购买 Hytale 或升级您的版本?在结账时使用创作者代码 Tschipcraft,以便我获得佣金!(您的价格保持不变)
Server-side dynamic lighting for Minecraft 1.17.x-26.2.x
| Support for 26.3 is in the works! |
➜ The data pack version of this mod can be found here
 |
For heavily modded setups, modpacks, as well as for playing on external servers, I recommend LambDynamicLights or similar client-side mods instead. There is a dedicated page about this in the wiki with more info |
? Features
This mod brings dynamic lighting to Minecraft without any client-side requirements. Supported entities and items (like torches, glowstone, or enchanted gear), held or worn by players, mobs, or placed in item frames, will emit light using the light block added in Snapshot 21w13a.
- 50+ supported vanilla items out of the box
- Multiple light levels: 3, 6, 9, 12, and 15
- Water-sensitive behavior with sounds for some items
- Enchanted items glow by default (light level 6), with special cases for Fire Aspect, Riptide, Channeling (light level 9)
- Amethyst-trimmed armor emits light
- Mobs, falling blocks, and display entities can emit light if carrying a supported item
Curios API support for modded inventory slots See issue #76
Since this project is completely server-side, players joining a server with Dynamic Lights installed will not need to install anything on their end for it to work! However, you can still use the mod version on the client for single-player worlds only. Joining a server that does not have Dynamic Lights installed will have no effect.
➜ For a complete list of supported items & entities, and available settings, take a look at the wiki
ℹ️ Limitations
Since this is a data pack at its core, there are some limitations compared to other purely modded solutions.
- Dynamic Lights may stutter while moving around. This project solely relies on vanilla light blocks, which are restricted to the block grid. Smooth transitions between blocks are not feasible
- This pack currently uses marker entities to keep track of dynamic light positions. If these entities are cleared by you or plugins like EntityTrackerFixer, light blocks will be left behind. See issue #25
- Vanilla light blocks are unfortunately immovable by pistons and block explosion damage. This can cause some redstone contraptions to malfunction. Please report any issues, I try to prevent common cases. See e.g. fixed issues #51, #15, #12, #10
- In Minecraft 1.21.4 and below, dynamic light updates will always trigger block updates. This could cause floating blocks affected by gravity, like sand or gravel, to fall
- Some shader packs that ignore the vanilla lightmap, such as Rethinking Voxels, will not display the dynamic lights. See issue #59
- Dynamic Lights cannot function in 1x1 block spaces occupied by non-solid blocks, as there is simply no space for placing light blocks. See issues #39 and #43
- Dynamic Lights per player operate globally. See a detailed explanation here
? Installation & Use
Download the mod and put the mod .jar file into your .minecraft/mods folder.
Install MidnightLib alongside Dynamic Lights for a global settings menu across all worlds.
To manage settings, reset, or uninstall the pack, use /trigger tschipcraft.menu or /function #tschipcraft:menu.
? Compatibility

Forge is only natively supported until Minecraft 1.21.5.
This project implements the Smithed and essential MC Datapacks Discord Server Conventions to ensure data pack compatibility.
? External Links
? Partner Offers
Want to buy Hytale or upgrade your edition? Use creator code Tschipcraft upon checkout for me to receive a commission! (The price for you stays the same)
评论 0
登录后参与评分
还没有评论,来抢沙发吧