Sodium Reloaded (Unofficial)

Sodium Reloaded (Unofficial)

0 Downloads

Wilder Wilds incompatible with Sodium since Minecraft 1.21.5

leiseg opened this issue · 7 comments

commented

Bug Description

Minecraft version

1.21.5

Mods used

Fabric 0.16.10
Fabric API 0.119.6+1.21.5
Cloth Config API 18.0.145+fabric
Wilder Wild 4.0.2-mc1.21.5
FrozenLib 2.0.2-mc1.21.5
Sodium mc1.21.5-0.6.12-fabric

Description

When using the above mentioned mods and enabling "Snowlogging" in Wilder Wild's config, Sodium causes a visual bug. The snow layer underneath snowlogged vegetation, fences, walls and blocks alike won't render properly.

Example of what I'm referring to:

Image

Reproduction Steps

  1. Have the latest version of the above mentions mods installed for Fabric for Minecraft 1.21.5.

  2. If not enabled by default, enable "Snowlogging" in Wilder Wild's config file (config\wilderwild\block.json):

     "snowlogging":
         "snowlogging": true,
         "snowlogWalls": true,
         "naturalSnowlogging": true,
     }
    
  3. Load up a new world and locate the nearest snowy biome like minecraft:snowy_taiga.

  4. Look around until you find vegetation like flowers or grass generating in that biome.

  5. See that the snow layer underneath said vegetation is not rendered.

Log File

latest.log

Crash Report

crash-2025-03-29_12.38.14-client.txt

commented

Appears to be very similar to the closed issue #2848, but not a duplicate since that issue has been closed and this is a different mod.

commented

We can't do anything about this. Wilder Wilds needs to be updated since it is modifying the code of Sodium for custom behavior. That said, it could probably use the Fabric Rendering API (like other mods do) to avoid hooking the block renderer like it is, so that it won't break in the future when Sodium's internal code changes.

I would do that, but I quite literally can find no docs on it
If you know of any resources for that I’d appreciate it

commented

Another issue is that Fabric frequently takes Indigo away during snapshots… this time they waited until the literal last minute to add it back to 1.21.5.
I dev on snapshots so it’s also not that reliable for me, but nonetheless I can do it on older versions.

commented

Wilder Wilds seems to have special compatibility code for Sodium that hasn't yet been updated for 1.21.5. https://github.com/FrozenBlock/WilderWild/blob/1.21.5/src/main/java/net/frozenblock/wilderwild/mixin/client/sodium/BlockRendererMixin.java

commented

We can't do anything about this. Wilder Wilds needs to be updated since it is modifying the code of Sodium for custom behavior. That said, it could probably use the Fabric Rendering API (like other mods do) to avoid hooking the block renderer like it is, so that it won't break in the future when Sodium's internal code changes.

commented

Alright, I will forward the issue to the devs of Wilder Wild.

commented

We can't do anything about this. Wilder Wilds needs to be updated since it is modifying the code of Sodium for custom behavior. That said, it could probably use the Fabric Rendering API (like other mods do) to avoid hooking the block renderer like it is, so that it won't break in the future when Sodium's internal code changes.

Hey! Just following up on this.
I still can’t find any documentation on this, do you have an example of how to do this?
Otherwise I’ll stick with a mixin, it’s a bit frustrating trying to use things with no docs. I can’t find any mention of this feature online either, but I was told by someone else as well that the feature exists.