Skip to content

[1.21.1 NeoForge] #459

Description

@EnderNyktos

Hello,

I found a compatibility issue between MoreCulling 1.0.7 (NeoForge 1.21.1) and Sodium 0.8.12 for Minecraft 1.21.1.

Environment

  • Minecraft: 1.21.1
  • Loader: NeoForge 21.1.235
  • MoreCulling: 1.0.7
  • Sodium: 0.8.12+mc1.21.1

Issue

The game crashes while rendering chunks. The crash appears to be caused by MoreCulling calling a Sodium method that no longer exists.

Relevant exception:

Caused by: java.lang.NoSuchMethodError:
'net.caffeinemc.mods.sodium.client.gui.SodiumGameOptions
net.caffeinemc.mods.sodium.client.SodiumClientMod.options()'

at ca.fxco.moreculling.utils.CullingUtils.areLeavesOpaque(CullingUtils.java:93)

The stack trace shows the crash originates in "MoreCulling" ("CullingUtils.areLeavesOpaque") during Sodium's chunk rendering pipeline.

This looks like an API incompatibility with the current Sodium version, since "SodiumClientMod.options()" appears to have been removed or changed.

I have attached the full crash report for reference.

Thank you for your work on the mod.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions