Contraption Lights
适用于 Create 和 Sable 的双向彩色动态光源。 Minecraft 1.21.1,NeoForge。
将灯笼、萤石或任何发光方块放置在 Create 机械装置或 Sable 子层级上,当它行驶、飞行、旋转、倾斜或航行时,其光线会随之移动。光线在建筑与外界之间双向传播:岸上的火把照亮经过的船只,而船只的灯笼也照亮了岸边。所有依赖项均为可选。
哪些物体携带光线
- Create 机械装置与动力学部件:任何组装并移动的物体,以及由 Flywheel 绘制的轴和齿轮。
- Sable 子层级:基于物理的结构,如船只和动态树木。
- 其他 Flywheel 内容:例如 Vanillin 的内容,无需 Create 即可使用。
- Sable Ragdolls 肢体:处于 ragdoll(布娃娃)状态的玩家手中的火把仍能照亮场景。
- 隐藏光源:位于 Create 仿制块和 FramedBlocks 框架内的发光方块、标语牌上的物品,以及使用 Offgrid 放置的光源。
光线如何传播
| 方向 | 视觉效果 | 默认值 |
|---|---|---|
| 建筑到外界 | 光线跟随轴承的每一次转动和船只的每一次翻滚。子层级上的信标变成可转向的探照灯。 | 开启 |
| 外界到建筑 | 火把、熔岩、发光生物、手持光源及其他模组的手电筒照亮经过的建筑。 | 开启 |
| 建筑到建筑 | 一艘点亮的船照亮附近的机械装置,一个机械装置照亮附近的其他动力学部件。 | 遵循上述两项设置 |
| 建筑搭载建筑 | 螺旋桨上的灯笼在移动的船上旋转,无论其渲染位置如何,都能照亮甲板、外界并被它们照亮。 | 遵循上述两项设置 |
子层级的墙壁会在两个方向阻挡光线,因此光线只能通过开口进出房间,封闭的房间完全隔绝光线。世界中的实心方块也会阻挡手持和移动的光线,但光线仍能绕过拐角并通过门道。
彩色光源
启用 enableColoredLight 后,每个发光方块都会以其自身的颜色照明:火把呈暖色,灵魂灯笼呈蓝色,青蛙灯呈现其纹理的颜色。重叠的光源会随着距离平滑混合和衰减,作用于方块、实体、粒子、手持物品以及模组移动的所有对象。自身发光的纹理保持全亮。默认关闭,且在加载光影包时暂停。
颜色数据来自资源包和模组可以扩展的数据文件,具体说明请参阅 wiki。若要为其他模组的方块添加颜色,请安装 DadamaldaDad 制作的 Contraption Lights Compat,该模组拥有自己的 问题追踪器。
模式
| 模式 | 效果 | 需求 |
|---|---|---|
| LAMB (默认) | 平滑且性能开销低,支持光影,涵盖上述所有方向,支持完整彩色光源。 | LambDynamicLights |
| VEIL (实验性) | 提供倾斜子层级的清晰角度阴影,但仅限建筑到外界方向。在 Iris 下会自动禁用。 | Veil |
| 服务端光源方块 | 所有玩家都能看到真实的发光方块,客户端无需安装模组。默认关闭,专为服务器管理员设计。 | 客户端无需任何内容 |
安装指南
安装后端(绝大多数用户选择 LambDynamicLights)和你希望点亮光线的模组:
| 模组 | 添加功能 |
|---|---|
| Create 0.6+ | 机械装置、动力学部件、仿制块和标语牌 |
| Sable | 子层级,适用于所有模式 |
| Sable Ragdolls 0.7+ | 处于 ragdoll 状态的玩家手中的光源 |
| FramedBlocks | 来自发光框架的光线和颜色 |
| Sodium 0.8.12+ | 视频设置中的选项。除此之外无需安装 |
专门支持 Iris、Chunks Fade In、Entity Texture Features、Snow! Real Magic!、AsyncParticles、Fusion、Copycats+、Amendments、Offgrid、Curios、Accessories、Gadgets & Gizmos 和 Create Deep Seas。
选项
默认设置适合大多数玩家。选项位于游戏内配置界面、配置文件以及 Sodium 的视频设置中,每一项都在 Options wiki 页面中有详细说明。用户最常查找的选项包括:mode、enableColoredLight、enableSubLevelOcclusion,以及服务端的 enableContraptionLightBlock 和 enableSubLevelLightBlock。
常见问题
我应该使用哪种模式? LAMB。VEIL 是实验性的,仅在有倾斜子层级阴影需求时才值得使用。
其他玩家需要安装此模组吗? 对于 LAMB 和 VEIL,是的。对于服务端光源方块,只有服务器需要。
我的 Sable 子层级看起来扁平、过亮,或在地下持续发光。
这是安装了 Iris 时 Sable 的渲染方式。一个捆绑的“Contraption Lights Fixes”模组可以在同时安装 Sable、Iris 和 Veil 时修复此问题;请检查三个 fixSubLevel... 选项是否已开启。
彩色光线没有任何效果。 默认情况下它是关闭的,并且在加载光影包时会暂停。如果只有一个方块看起来不对,Contraption Lights Compat 可能会修复它,或者按照 wiki 所述为其赋予颜色。
光线仍然会进入我的车厢。 只有能阻挡光线的方块才算作墙壁。玻璃、台阶、楼梯、栅栏和开放的活板门都会让光线通过,并且光线会从任何开口处进入,路径越长,光线越暗。
没有任何东西发光。 请留意右下角:如果设置有问题,模组会在那里显示提示。否则,请检查是否已安装后端支持,并且构建中包含发光方块。
致谢
- Logo 由 arthursimon900 制作。
许可证
保留所有权利。您可以将此模组包含在整合包中。
Contraption Lights
Bi-directional coloured dynamic lights for Create and Sable. Minecraft 1.21.1, NeoForge.
Put a lantern, glowstone or any glowing block on a Create contraption or a Sable sub-level, and its light travels with it as it drives, flies, rotates, tilts or sails. Light crosses between your builds and the world in both directions: a torch on the shore lights a passing ship, and the ship's lanterns light the shore. Every dependency is optional.
What carries light
- Create contraptions and kinetics: anything assembled and moving, plus shafts and cogs drawn by Flywheel.
- Sable sub-levels: physics-driven structures such as ships and dynamic trees.
- Other Flywheel content, such as Vanillin's, with no Create needed.
- Sable Ragdolls limbs: a ragdolled player's torch keeps lighting the scene.
- Hidden lights: glowing blocks inside Create copycats and FramedBlocks frames, items in placards, and lights placed with Offgrid.
How light travels
| Direction | What you see | Default |
|---|---|---|
| Build to world | Light follows every turn of a bearing and roll of a ship. A beacon on a sub-level becomes a steerable searchlight. | On |
| World to build | Torches, lava, glowing mobs, held lights and other mods' flashlights light a passing build. | On |
| Build to build | A lit ship lights a nearby contraption, and a contraption lights nearby kinetics. | Follows the two above |
| Builds riding builds | A lantern on a propeller spinning on a moving ship lights the deck and the world, and is lit by them, wherever it is drawn. | Follows the two above |
A sub-level's walls block light in both directions, so light only gets out of or into a room through its openings, and a closed room is sealed off completely. Solid blocks in the world stop held and moving light too, which still reaches round corners and through doorways.
Coloured light
Turn on enableColoredLight and every glowing block lights in its own colour: a torch warm, a soul lantern blue, a froglight the shade of its texture. Overlapping lights blend and fade smoothly with distance, on blocks, entities, particles, held items and everything the mod moves. Textures that glow on their own stay fully bright. It is off by default, and pauses while a shaderpack is loaded.
Colours come from data files that resource packs and mods can extend, as the wiki explains. For colours on other mods' blocks, add Contraption Lights Compat by DadamaldaDad, which has its own issue tracker.
Modes
| Mode | What you get | Needs |
|---|---|---|
| LAMB (default) | Smooth and cheap, works with shaders, every direction above, full coloured light. | LambDynamicLights |
| VEIL (experimental) | Crisp angled shadows from tilted sub-levels, but build-to-world only. Disables itself under Iris. | Veil |
| Server light blocks | Real light blocks that every player sees, with no client mod. Off by default, meant for server admins. | Nothing on the client |
Setup
Install a backend (LambDynamicLights for almost everyone) and the mods you want lit:
| Mod | Adds |
|---|---|
| Create 0.6+ | Contraptions, kinetics, copycats and placards |
| Sable | Sub-levels, on any mode |
| Sable Ragdolls 0.7+ | A ragdolled player's held light |
| FramedBlocks | Light and colour from glowing frames |
| Sodium 0.8.12+ | The options in Video Settings. Not needed for anything else |
Has specific support for Iris, Chunks Fade In, Entity Texture Features, Snow! Real Magic!, AsyncParticles, Fusion, Copycats+, Amendments, Offgrid, Curios, Accessories, Gadgets & Gizmos and Create Deep Seas.
Options
The defaults suit most players. Options are in the in-game config screen, the config file and Sodium's Video Settings, and every one is explained on the Options wiki page. The ones people look for: mode, enableColoredLight, enableSubLevelOcclusion, and the server's enableContraptionLightBlock and enableSubLevelLightBlock.
FAQ
Which mode should I use? LAMB. VEIL is experimental and only worth it for shadows on tilted sub-levels.
Do other players need the mod? For LAMB and VEIL, yes. For server light blocks, only the server.
My Sable sub-levels look flat, too bright, or stay lit underground.
That is how Sable renders whenever Iris is installed. A bundled "Contraption Lights Fixes" mod repairs it when Sable, Iris and Veil are all installed; check the three fixSubLevel... options are on.
Coloured light does nothing. It is off by default and pauses under a shaderpack. If only one block looks wrong, Contraption Lights Compat may cover it, or give it a colour as the wiki describes.
Light still gets into my cabin. Only blocks that stop light count as walls. Glass, slabs, stairs, fences and open trapdoors let it through, and light comes in through any opening, dimmer the longer its way round.
Nothing lights up. Watch the bottom-right corner: if the setup is at fault, the mod says so there. Otherwise check a backend is installed and the build carries a glowing block.
Credits
- Logo by arthursimon900.
License
All Rights Reserved. You may include this mod in modpacks.
下载 Contraption Lights (Bi-directional Coloured Dynamic Lights)
下载 Contraption Lights (Bi-directional Coloured Dynamic Lights)
下载 Contraption Lights (Bi-directional Coloured Dynamic Lights)
下载 Contraption Lights (Bi-directional Coloured Dynamic Lights)
下载 Contraption Lights (Bi-directional Coloured Dynamic Lights)
下载 Contraption Lights (Bi-directional Coloured Dynamic Lights)
下载 Contraption Lights (Bi-directional Coloured Dynamic Lights)
下载 Contraption Lights (Bi-directional Coloured Dynamic Lights)
下载 Contraption Lights (Bi-directional Coloured Dynamic Lights)
下载 Contraption Lights (Bi-directional Coloured Dynamic Lights)
- 光照不再穿过未完全封闭的 Sable 子层墙壁。光线仅能通过开口进出,绕行路径越长则越暗。此改动涵盖手持光源、掉落光源、建筑自带光源以及信标光束。
- 世界光照不再透过 Sable 子层的墙壁照射到其内部方块上,也不会照射到内部的玩家、生物、粒子及 Create 机械装置。
- 对于部分开放空间的 Sable 子层中的光源,其光块现在被放置在开口处,而非光源本身的位置。
- 新增选项“墙壁阻挡移动光照”(默认开启):固体方块可阻挡手持光源和建筑自带光源的光线,但光线仍能绕过拐角并穿入门道。需要安装 LambDynamicLights。
- 修复了在安装 AsyncParticles 21.1.5 时,游戏在启动或加入世界时崩溃的问题。
- “Iris fixes”设置项现已更名为“Fixes and improvements”。您之前关闭的任何设置均已恢复开启状态。
- “Seal closed rooms”设置项在客户端中现称为“Sub-level walls block light”,在服务端中现称为“Walls block light blocks”。
- 使用 Offgrid 放置的光源(例如放在台阶上的灯笼)现在会采用光源的颜色,并在由 Sable 子层级和 Create 机械携带时正常发光。
- 在安装了 Sodium 以及 Chunks Fade In 或 Gadgets & Gizmos 之一的情况下,有色光现在能够在地形上正确显示。
- Create Deep Seas 的漩涡灯光和雾气不再错误渲染位置或方向。
- 当持有信标灯的 Sable 子层级仍在建造中(例如由 Gadgets & Gizmos 建造)时,游戏不再卡死。
- 方块和物品上的发光纹理(例如来自 Fusion 及其衍生资源包如 GEODE 中的纹理),在有色光环境下现在能保持完全明亮,并保留其自身颜色。
- 来自 Sable 子层级封闭室外的光线不再照射到停在该室内的其他子层级。
- Sable 子层级封闭室内的粒子不再被其外部的光源方块照亮。
- 安装 AsyncParticles 后,新粒子在呈现光线颜色前不再会短暂显示为白色。
- Create 滑动门在开启过程中、完全开启状态下以及装置上的部件现在会呈现光线的颜色。其他带有动画部件的 Create 组件,以及安装在装置上且带有动画部件的方块也适用此规则。
- 当 Flywheel 后端关闭时,Create 的轴、齿轮、其他移动部件及装置现在会呈现光线的颜色。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
可定制的鞘翅模组,支持装饰纹饰、旗帜图案等更多功能!
模组
一个用于收集生物掉落物的多区块模组。
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
查看物品与配方
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
评论 0
登录后参与评分
还没有评论,来抢沙发吧