Skip to content

1.12.2 Forge and modern intelliJ IDEA not loading resources [closed]

I am trying to get even the examplemod included with Forge MDK to work. no avail.

I added the Forge MDK project to IDEA and ran genIntelliJRuns and then clicked the runClient. The file isn’t loaded.

I’ve tried adding sourceSets { main { output.resourcesDir = output.classesDir } } to the bottom of the build.gradle. Even after refreshing gradle, still no on runClient

I tried changing build and run to use IDE instead of Gradle, still no on runClient

enter image description here

This isn’t just the file, its the whole resources.

This seems to be an issue ever since IDEA IntelliJ 14, and hasn’t been fixed.


  • Forge 1.12.2-
  • Minecraft 1.12.2
  • Gradle 4.9
  • IntelliJ IDEA 2022.2.2



I managed to fix it, my build directory wasnt being overwritten. so even though I changed build.gradle, no changes happened, deleted the build directory and everything works fine.

User contributions licensed under: CC BY-SA
2 People found this is helpful