-
Notifications
You must be signed in to change notification settings - Fork 3
Failed to load mod #53
Copy link
Copy link
Open
Description
Describe the bug
After successfully packaging the minecraftenv mod using build.gradle, placing it in the Minecraft client's mods folder results in a java.lang.ClassNotFoundException: kotlin.NoWhenBranchMatchedException error, preventing the mod from loading. This issue may be related to Kotlin.
Environment
- Minecraft Version: 1.21
- Fabric Loader: 0.15.11
- Fabric API: 0.100.6+1.21
- JDK Version: 21
- OS: Windows 11
Reproduction Steps
- Clone the repository and navigate to the
src/craftground/MinecraftEnvdirectory - Execute
./gradlew build(orshadowJar) to package the mod, generating a JAR file - Place the JAR in the Minecraft client's
modsfolder
Could you provide a more detailed, complete build process demonstration from source code to a runnable mod (including necessary configuration changes and commands)?
Thank you for your hard work and assistance! I really like your project.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels