Minecraft 1.17.x-26.2.x 的服务端动态光照
| 正在开发对 26.3 的支持! |
|---|
| 对于重度模组化设置、整合包,以及在外部服务器游玩的情况,我推荐改用 LambDynamicLights 或类似的客户端模组。 维基页面中有专门关于此的说明和更多信息 |
? 特性
本模组无需任何客户端要求即可为 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 slotsSee 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)
下载 Dynamic Lights [Server] [Fabric/NeoForge]
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Dynamic Lights [Server] [Fabric/NeoForge]
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Dynamic Lights [Server] [Fabric/NeoForge]
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Dynamic Lights [Server] [Fabric/NeoForge]
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Dynamic Lights [Server] [Fabric/NeoForge]
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Dynamic Lights [Server] [Fabric/NeoForge]
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Dynamic Lights [Server] [Fabric/NeoForge]
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Dynamic Lights [Server] [Fabric/NeoForge]
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Dynamic Lights [Server] [Fabric/NeoForge]
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Dynamic Lights [Server] [Fabric/NeoForge]
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
可定制的鞘翅模组,支持装饰纹饰、旗帜图案等更多功能!
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
查看物品与配方
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
AE2:一款流行的自动化与存储模组
评论 0
登录后参与评分
还没有评论,来抢沙发吧