HomeJavaModsSodium Blending Registry
Sodium Blending Registry
ModsJava

Sodium Blending Registry

by devpelux · on Modrinth

This is a plugin for sodium, that fixes a sodium "color blending bug", and adds a dynamic way to register blocks for blending.

Which build do you need?

This mod ships a separate file for every mod loader and every version of the game. Pick both, then download — the wrong build installs fine and then does nothing in the game.

Mod loader

Minecraft version

⬇ Download for 1.20 · Fabric⬇ Download for 1.19.4 · Fabric⬇ Download for 1.19.3 · Fabric⬇ Download for 1.19–1.19.2 · Fabric⬇ Download for 1.20 · Quilt⬇ Download for 1.19.4 · Quilt⬇ Download for 1.19.3 · Quilt⬇ Download for 1.19–1.19.2 · Quilt
I don't know my version or loader
Open the Minecraft launcher and look at the profile you play on — it names both, like fabric-loader-1.21.4. The version also shows in the bottom-right corner of the game's main menu.
No loader in the profile name? Then it's plain Minecraft, and these mods won't run — you need Fabric or NeoForge installed first.
Sodium Blending Registry — screenshot 1

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

img1

img2

Installation

To install the mod, follow these steps:

  1. Make sure you have Fabric and Sodium installed.
  2. Download the correct release of the mod file from Modrinth, for the specific Minecraft and Sodium releases.
  3. 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:

  1. Verify that you are using the correct version of the plugin for the specific Minecraft and Sodium release.
  2. Reproduce the issue, noting down any specific steps or circumstances that trigger the bug.
  3. Provide any relevant information, including your Minecraft version, Fabric version, Sodium version, and any other mods you have installed.
  4. Provide the logs if they are relevant.

References

License

Copyright (C) 2023 devpelux (Salvatore Peluso)
Licensed under MIT license.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more