Tschipcraft 的
Dynamic Lights
适用于 1.17.x-26.2.x 的服务端动态光照
| 对 26.3 的支持正在开发中! |
|---|
| 对于重度模组化的环境、整合包,以及在外部服务器上游玩,我建议改用 LambDynamicLights 或类似的客户端模组。 -> 详情请查看此 Wiki 页面。 |
? 功能特性
此数据包/模组无需任何客户端要求,即可为 Minecraft 带来动态光照。被玩家、生物手持或穿戴,或放置在物品展示框中的受支持实体与物品(如火把、荧石或附魔装备),会使用快照 21w13a 中加入的光源方块发光。
- 开箱即用的50 多种受支持的原版物品
- 多档光照等级:3、6、9、12 和 15
- 部分物品具有水敏感行为及音效
- 附魔物品默认发光(光照等级 6),火焰附加、激流、引雷为特殊情况(光照等级 9)
- 紫水晶镶饰盔甲会发光
- 生物、下落方块和展示实体在携带受支持物品时可以发光
对模组物品栏位的 Curios API 支持见议题 #76
由于此项目完全在服务端运行,加入安装了 Dynamic Lights 的服务器的玩家无需在自己的客户端安装任何东西即可生效!不过,你仍然可以仅在单人世界中使用模组版本。加入未安装 Dynamic Lights 的服务器将不会产生任何效果。
ℹ️ 局限性
由于此项目的核心是数据包,与其他纯模组方案相比存在一些局限性。
局限性(点击展开)
- Dynamic Lights 在移动时可能会出现卡顿。此项目仅依赖原版光源方块,而光源方块受限于方块网格。方块之间的平滑过渡无法实现
- 此数据包目前使用标记实体来追踪动态光源位置。如果这些实体被你或 EntityTrackerFixer 等插件清除,光源方块将被遗留。见议题 #25
- 原版光源方块不幸无法被活塞移动,也无法被方块爆炸破坏。这可能导致部分红石装置出现故障。请报告任何问题,我会尝试预防常见情况。参见已修复的议题 #51、#15、#12、#10
- 在 Minecraft 1.21.4 及以下版本中,动态光源更新总是会触发方块更新。这可能导致受重力影响的浮空方块(如沙子或沙砾)掉落
- 部分忽略原版光照贴图的光影包,例如 Rethinking Voxels,将不会显示动态光源。见议题 #59
- Dynamic Lights 无法在由非固体方块占据的 1x1 方块空间中生效,因为根本没有空间放置光源方块。见议题 #39 和 #43
- 每玩家的 Dynamic Lights 按全局生效。在此查看详细说明
? 安装与使用
以下任选其一安装:
- 数据包 [DP] ➜ 将
.zip放入你世界的datapacks文件夹 - 模组 [Mod] ➜ 放入你的
mods文件夹,并可选择安装
MidnightLib 以获得全局配置文件与 UI
要管理设置、重置或卸载此数据包,请使用 /trigger tschipcraft.menu 或 /function #tschipcraft:menu。
? 兼容性
Forge 仅在 Minecraft 1.21.5 之前受原生支持。
本数据包遵循 Smithed 及 MC Datapacks Discord Server 的重要约定,以确保数据包兼容性。
Tschipcraft's
Dynamic Lights
Server-side dynamic lighting for 1.17.x-26.2.x
| Support for 26.3 is in the works! |
|---|
| For heavily modded setups, modpacks, as well as for playing on external servers, I recommend LambDynamicLights or similar client-side mods instead. -> For details, check this wiki page. |
? Features
This data pack/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 <-
ℹ️ Limitations
Since this is a data pack at its core, there are some limitations compared to other purely modded solutions.
Limitations (click to expand)
- 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
Install either as:
- Data Pack [DP] ➜ Place
.zipin your world'sdatapacksfolder - Mod [Mod] ➜ Drop into your
modsfolder and optionally install
MidnightLib for a global config file and UI
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 data pack follows the Smithed and essential MC Datapacks Discord Server Conventions to ensure data pack compatibility.
下载 动态光照
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 动态光照
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 动态光照
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 动态光照
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 动态光照
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 动态光照
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 动态光照
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 动态光照
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
数据包
此数据包添加了属于阿瓦里海盗的独特结构,将他们的独特风格带入你的 Minecraft 世界!兼容性:1.20 至 26.3
数据包
一个 Minecraft 光线投射库,能够精确检测玩家正在查看的方块,包括像台阶和楼梯这样的特殊方块形状。
数据包
此数据包添加了新的“祝福模式”难度。
数据包
添加了基于官方概念图的蓝蛙和红眼树蛙变体。
数据包
为模组生物群系添加原版回溯特性!
数据包
允许服务器管理员方便地禁用 Xaero's Map 系列模组中的实体雷达、小地图等功能,使竞技游戏更加公平。
评论 0
登录后参与评分
还没有评论,来抢沙发吧