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)和你希望点亮光线的模组:
专门支持 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
License
All Rights Reserved. You may include this mod in modpacks.
评论 0
登录后参与评分
还没有评论,来抢沙发吧