Wrong Minecraft versionSodium Crash: ClassMetadataNotFoundException CubicSampler$class_4859
What the log looks like
org\.spongepowered\.asm\.mixin\.throwables\.ClassMetadataNotFoundException: net\.minecraft\.util\.CubicSampler\$class_4859
java\.lang\.ClassNotFoundException: net/minecraft/util/CubicSampler\$class_4859
Mixin apply for mod sodium failed sodium\.mixins\.json:features\.fast_biome_colors\.MixinClientWorld
How to fix it
- Open your Minecraft profile's 'mods' folder (in CurseForge, right-click the modpack profile and select 'Open Folder').
- Delete the outdated Sodium JAR file, such as sodium-fabric-mc1.17.1-0.3.3+build.8.jar.
- Download Sodium 0.4.0 or newer that matches your exact Minecraft version (e.g., 1.18.1) from Modrinth or CurseForge.
- Place the new Sodium JAR file directly into your 'mods' folder instead of letting the launcher auto-resolve the Iris dependency, then launch the game.
| Loaders | Fabric, Quilt |
|---|
| Severity | Stops the game |
|---|
| Category | Wrong Minecraft version |
|---|
Check your own log