Trouble setting up a 1.12.2 MDK in 2026
I'm struggling to setup the dev environment in Intellijea, I'm using the Forge MDK net.minecraftforge:forge:1.12.2-14.23.5.2864. I'm setup to use Java 8.
I've made no changes, I just downloaded the MDK zip from the official Forge website, unzip and run the Gradle commands. Minecraft boots up for a few seconds then crashes with very strange errors.
Caused by: java.lang.IllegalArgumentException
Caused by: java.lang.NullPointerException
> [Client thread/ERROR] [FML]: There was a problem reading the entry module-info.class in the jar C:\Users\tmh.gradle\caches\modules-2\files-2.1\org.ow2.asm\asm\6.2\1b6c4ff09ce03f3052429139c2a68e295cae6604\asm-6.2.jar - probably a corrupt zip net.minecraftforge.fml.common.LoaderException: java.lang.IllegalArgumentException
at net.minecraftforge.fml.common.discovery.asm.ASMModParser.<init>(ASMModParser.java:63) ~[ASMModParser.class:?]
For some reason it seems to be trying to load a bunch of Gradle *.jars as Minecraft mods, it does this for quite a number of jars...
I haven't modified the build.gradle everything is default so I am not sure why it's trying to do this?