Open AlienXtream opened 3 months ago
if I were you, I would downgrade your Sodium to 0.5.6, because it is more compatible with your other mods, such as sodium-extra, and Iris.
Also, you have A TON of mods installed, so I would recommend running Minecraft (Fabric of course) with Sodium, Malilib, and litematica only and try to reproduce your problem. Running a TON of mods together is generally never a good idea, unless you are 100% sure that they are all 100% compatible with each other, where clearly you are having a mod conflict.
java.lang.ClassCastException: class fi.dy.masa.litematica.world.WorldSchematic cannot be cast to class net.minecraft.class_638 (fi.dy.masa.litematica.world.WorldSchematic and net.minecraft.class_638 are in unnamed module of loader net.fabricmc.loader.impl.launch.knot.KnotClassLoader @7e0b0338)
at me.jellysquid.mods.sodium.client.render.SodiumWorldRenderer.redirect$nnb000$valkyrienskies$renderShipBlockEntityInShipyard(SodiumWorldRenderer.java:1572)
Seems like an issue in Valkyrien Skies?
might be. i just recognised the issue as similar to the known sodium issue. if others are aboe to run sodium 0.5.8+ with litematica then i guess i was wrong. i just assumed the VS mixin was unrelated. a bad call on my part if that's not the case (of which i apologise)
There have been some cases reported earlier as well where some mods assume things to be of certain type, and they try to cast it to some given type without checking instanceof
first. And then things crash when it wasn't actually of that type.
So here it looks like Valkyrien Skies assumes that the world the renderer gets always is or extends the vanilla ClientWorld
class. But Litematica's schematic world doesn't extend the ClientWorld
class, because it was simpler to extend one of the parent classes for my use case.
Please don't post simple questions on this issue tracker!
Simple questions like "How do I do X?" should instead be handled either on the Discussions area (see on the top of the page) or on Discord:
#litematica
#masas-mods
Every message on the issue tracker here sends an email to me, and a message on two Discord servers. So having simple support conversations here gets really spammy and annoying. Please use one of the above mentioned alternatives instead.Other rules
Provide at least the following information
Fabric 0.15.7 Minecraft 1.20.1 MLib 0.16.3 Litematica 15.3 Sodium 0.5.8
Crash when loading or creating world. crash is consistent with incompatability with breaking changes in current sodium version. it seems "SodiumWorldRenderer" has been replaced with different methods and so mods that implemented sodium suppoprt need to update their compatability layer to the new methods.
crash-2024-03-28_13.41.47-client.txt