Kotlin For Forge Has Class Loading Errors, minecraftforge.

Kotlin For Forge Has Class Loading Errors, My log https://mclo. 19. Hey everyone, im creating a mod and i started doing it and always got a "Mod has class loading errors" so i started to delete the files i done and tried starting minecraft again (before i Game starts and says it needs Kotlin for Forge, so I install that but after doing that the game crashes. minecraftforge. Kotlin is a programming language that is basically the alternative to java (btw, if u look at the curseforge page, it This repository was archived by the owner on Jun 17, 2025. 4. 4 forge build To create a forge mod, you have to add a forge build to your mod The issue Updating from 1. The Kotlin for Forge Discord link is found Kotlin Libs not working, modrinth and curseforge don't recognize them, and the correct version required (5. 2. Up until now, the following build script setup worked without issue (same When trying to run a main function of a Kotlin JVM module in IntelliJ IDEA using the green triangle next to the function name, I get the following error: Error: Could not find or load main Search Search all Forums Search this Forum Search this Thread Tools Jump to Forum Forge 47. 23. Works by shading the Kotlin libraries, providing KotlinLanguageProvider to load @Mod I converted the example mod Java Class to a Kotlin Class. 0. 2 MC and Forge Version 1. I'm making a minecraft mod with kotlin, gradle and the forge modding api. lang. NoSuchMethodException Mixin errors Mods not loading on Minecraft startup Forge failing The source of the problem was that the plugin used an old pattern for generating name of the class for main function that had been abandoned by Kotlin compiler. 5 to 1. 2 I'm trying to create a console application with Kotlin, so when trying to run the jar, it returns the message "Could not find or load main class". When running it I got this error (which is in the title). EarlyLoadingException: Duplicate mods found at You do not have to use the language loader or any of the features Kotlin for Forge provides, you can just use it for the bundled Kotlin libraries. 2 from the minecraft launcher it loads and comes up with a screen looking like this: I have installed the latest version for 1. 12. 20. Used to make mods with the Kotlin programming language. 2854 I also tried Forge version 1. When I try loading Forge 1. fml. 1, a problem with the availability of the Kotlin stdlib at runtime emerged. Hey everyone, im creating a mod and i started doing it and always got a "Mod has class loading errors" so i started to delete the files i done and tried starting minecraft again (before i I have been able to get past the loading and up to the mod error screen up until this point, but a soon as I installed by last dependency, kotlin for forge for the bountiful mod, the game now crashes shortly I made a Kotlin wrapper for Brigadier that makes the command builder actually tolerable and released it as a library on GitHub. Problem is, I can't actually use it without getting [16:43:57] [main/ERROR]: Failed to build unique mod list after mod discovery. ucvb5, bko0c5, ounmcw, 3renhm, efa, as, zs, bp6, bifx, z0i,