此模组为游戏添加了彩色光源。其他添加彩色灯光的模组可以将其作为依赖项使用。
警告
此模组与 Sodium 不兼容!
功能
- 不同的方块可以发出不同颜色的光
- 穿过染色玻璃的光也会带上颜色
- 发出的颜色和过滤后的颜色可以在资源包中自定义
- 此模组仅作用于客户端——你可以在任何服务器上游玩它,并且从你的世界中移除它时不会有任何问题
资源包教程
在你的资源包的命名空间文件夹(即包含 textures 和 models 等文件夹的位置)中创建一个 light 文件夹。在那里,你可以创建一个 emitters.json 文件,用于定义哪些方块发出何种颜色的光。示例:
assets\example\light\emitters.json
{
"minecraft:torch": "#00FF00", // 十六进制颜色代码
"minecraft:red_candle": "red", // 染料名称
"minecraft:redstone_lamp": [ 0, 255, 255 ],
"minecraft:soul_torch": "purple;5", // 覆盖发光强度
"minecraft:oak_leaves": "light_blue;F" // ';' 后面的值是从 0 到 F 的十六进制数字
}
你还可以创建 filters.json,在其中定义光线穿过特定方块时的颜色变化。示例:
assets\example\light\filters.json
{
"minecraft:red_stained_glass": "#00FF00", // 十六进制颜色代码
"minecraft:green_stained_glass": "red", // 染料名称
"minecraft:glass": [ 0, 255, 255 ]
}
示例资源包
彩色蜡烛:colorful-candles.zip
The mod adds colored lighting to the game. Other mods that add colored lights can use it as a dependency.
Warning
The mod is not compatible with Sodium!
Features
- Different blocks can emit different light colors
- Light that passes through stained glass is also colored
- Emitted colors and filtered colors can be customized in resource packs
- The mod is client side - you can play with it on any server and you won't have any problems removing it from your world
Resource Pack Tutorial
In your resourcepack's namespace folder (where folders like textures and models are located) create a light folder. There, you can create an emitters.json file, which defines what light colors blocks emit. Example:
assets\example\light\emitters.json
{
"minecraft:torch": "#00FF00", // color in hex
"minecraft:red_candle": "red", // dye name
"minecraft:redstone_lamp": [ 0, 255, 255 ],
"minecraft:soul_torch": "purple;5", // override light level emission
"minecraft:oak_leaves": "light_blue;F" // value after ';' is a hex number from 0 to F
}
You can also create filters.json, where you define what light color passes through a given block. Example:
assets\example\light\filters.json
{
"minecraft:red_stained_glass": "#00FF00", // color in hex
"minecraft:green_stained_glass": "red", // dye name
"minecraft:glass": [ 0, 255, 255 ]
}
Example Resource Packs
Colorful Candles: colorful-candles.zip
下载 Colorful Lighting
下载 Colorful Lighting
下载 Colorful Lighting
下载 Colorful Lighting
下载 Colorful Lighting
下载 Colorful Lighting
下载 Colorful Lighting
下载 Colorful Lighting
下载 Colorful Lighting
下载 Colorful Lighting
移植到 26.2
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
可定制的鞘翅模组,支持装饰纹饰、旗帜图案等更多功能!
模组
一个用于收集生物掉落物的多区块模组。
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
查看物品与配方
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
适用于 MC 1.18+ 的 Effekseer 加载器
评论 0
登录后参与评分
还没有评论,来抢沙发吧