Sodium Blending Registry
这是一个 Sodium 插件,旨在解决 Sodium 图形引擎中已知的颜色混合错误。该错误会导致许多使用颜色提供程序(color providers)的 Minecraft 模组出现视觉不一致的问题。
有关此错误的详细描述,请参阅 issue 895。
此外,它引入了一个新的标签 c:blendable,允许自定义方块或流体注册以使用 Sodium 混合系统。
❗重要提示❗
从 Sodium 0.5 版本开始,此插件已成为 Sodium 的一部分,不再需要单独安装。
如果您在 Sodium 0.5 或更高版本中使用此插件,游戏将会崩溃!
错误示例


安装方法
要安装该模组,请按照以下步骤操作:
- 确保您已安装 Fabric 和 Sodium。
- 从 Modrinth 下载与该特定 Minecraft 和 Sodium 版本对应的正确模组文件。
- 将下载的模组文件移动到
mods 文件夹中。
标签用法
c:blendable 标签对于引入基于生物群系使用颜色提供程序的方块或流体的模组开发者来说非常有用。
通过应用该标签,新的方块或流体将使用 Sodium 混合系统,而不是原版系统的混合方式。
要使用该标签,请在 resources/data/c/tags/blocks 目录下为方块添加一个名为 blendable.json 的新文件,或在 resources/data/c/tags/fluids 目录下为流体添加该文件。
文件内容应类似如下:
{
"replace": false,
"values": [
"testmod:newleaveblock"
]
}
请注意,此功能专为模组开发者设计,而非面向最终用户。
错误报告
请注意,本模组仅修复 Sodium 的颜色混合问题。
对于其他 Sodium 相关的问题,请在 Sodium 仓库中提交 issue,而不是在这里!
为了确保准确报告错误,请遵循以下步骤:
- 确认您使用的是与特定 Minecraft 和 Sodium 版本匹配的插件正确版本。
- 重现该问题,并记录触发该错误的任何具体步骤或情况。
- 提供所有相关信息,包括您的 Minecraft 版本、Fabric 版本、Sodium 版本以及已安装的其他模组。
- 如果适用,请提供日志文件。
参考资料
许可证
Copyright (C) 2023 devpelux (Salvatore Peluso)
根据 MIT 许可证授权。
Sodium Blending Registry
This is a Sodium plugin designed to address a known bug in the Sodium graphics engine that causes incorrect color blending, resulting in visual inconsistencies in many Minecraft mods which make use of color providers.
The bug is described in issue 895.
Additionally, it introduces a new tag c:blendable that allows custom blocks or fluids to be registered to use the Sodium blending system.
❗IMPORTANT NOTE❗
Starting from Sodium 0.5, this plugin is a part of Sodium itself, and is not required anymore.
If you use this with Sodium 0.5 or newer releases the game will crash!
Examples of the bug


Installation
To install the mod, follow these steps:
- Make sure you have Fabric and Sodium installed.
- Download the correct release of the mod file from Modrinth, for the specific Minecraft and Sodium releases.
- Move the downloaded mod file into the mods folder.
Usage of the tag
The c:blendable tag can be particularly useful for mod developers when they introduce a block or fluid that utilizes color providers based on the biome.
By applying the tag, the new block or fluid will make use of Sodium blending system instead of the vanilla one.
To use the tag, add a new file named blendable.json into resources/data/c/tags/blocks for blocks, or resources/data/c/tags/fluids for fluids.
The file should be similar to this:
{
"replace": false,
"values": [
"testmod:newleaveblock"
]
}
Please note that this feature is intended for mod developers and not for end users.
Bug Reporting
Note that this mod fixes only the blending bug of Sodium.
For other Sodium bugs, please open an issue on Sodium instead and not here!
To ensure accurate bug reporting, please follow these steps:
- Verify that you are using the correct version of the plugin for the specific Minecraft and Sodium release.
- Reproduce the issue, noting down any specific steps or circumstances that trigger the bug.
- Provide any relevant information, including your Minecraft version, Fabric version, Sodium version, and any other mods you have installed.
- Provide the logs if they are relevant.
References
License
Copyright (C) 2023 devpelux (Salvatore Peluso)
Licensed under MIT license.
评论 0
登录后参与评分
还没有评论,来抢沙发吧