Moonlight Lib

Moonlight Lib

128M Downloads

[🐞]: Crash when approaching desert village (Better Villagers + Oculus + Moonlight conflict)

jobimarthur opened this issue · 2 comments

commented

BEFORE CONTINUING:

  • Always check you are using the latest version of these mods and its dependencies
  • Remove known problematic rendering mods such as Optifine, Sodium and others

Version-Loader

1.20.1-FORGE

Moonlight Lib Version

2.13.33

Describe the Issue

Hello! I’m playing Minecraft 1.20.1 (Forge 47.3.0) with the Better Villagers mod. Every time I get near a desert village, my game crashes and I get a NoClassDefFoundError: net/irisshaders/iris/Iris in the logs.

From what I can gather, there seems to be a conflict between Moonlight Library (which many village-related mods use), Oculus (the Forge equivalent of Iris Shaders), and possibly “Better Villagers,” because the crash only happens when the desert village is being rendered or generated.

Snippet from the crash report:
crash-2025-01-08_00.59.36-client.txt

java.lang.NoClassDefFoundError: net/irisshaders/iris/Iris
at net.mehvahdjukaar.moonlight.api.integration.IrisCompat.isIrisShaderFuckerActive(IrisCompat.java:10)
...

(Full crash report attached)

Versions
Minecraft: 1.20.1
Forge: 47.3.0
Better Villagers: 3.2.0 ((installed on both server and client)
Moonlight: 2.13.33 (installed on both server and client)
Oculus: 1.6.15a (client side only)
I’m hosting a small server on my own PC, and the server itself never crashes—only my client crashes (I get disconnected) whenever I approach a desert village. Other village types seem unaffected.

Any suggestions or fixes would be greatly appreciated!

Log Attachment

crash-2025-01-08_00.59.36-client (1).txt

OPTIONAL: To Produce

  1. Go to a desert village using Better Villagers mod and Supplementaries
  2. The game crashes
  3. i could only got out of the crashing-loop in my world when set rendering distance for the minimum.

OPTIONAL: Which mods are affected?

Better Villagers, Oculus, Moonlight

commented

Strange... the NoClassDefFoundError: net/irisshaders/iris/Iris is saying that the required class is not found and it caused the crash.

EDIT:
just saw your moonlight Lib version is 1.20-2.13.33. you need to update to v2.13.48

There is a reason why you must do this:

Always check you are using the latest version of these mods and its dependencies

blc the older version is no longer irrelevant, only the latest version is relevant.

commented

that's not oculus latest version