
/cdn.vox-cdn.com/uploads/chorus_image/image/67233945/download.0.png)
For VSCode, run the genVSCodeRuns gradle task ( gradlew genVSCodeRuns).If you encounter an error saying “module not specified”, you can either edit the configuration to select your “main” module or specify it through the ideaModule property. This will generate the Run Configurations and download any required assets for the game to run. For IntelliJ, run the genIntellijRuns gradle task ( gradlew genIntellijRuns).After this has finished, refresh your project.

This will generate the Launch Configurations and download any required assets for the game to run.

Only a few of these files are strictly necessary for mod development, and you may reuse these files for all your projects. You should see a bunch of files along with an example mod placed in src/main/java for you to look at. Extract the downloaded MDK into an empty directory.Obtain the Mod Development Kit (MDK) from Forge’s files site.Using a 32-bit JVM will result in some problems when running the below gradle tasks. Minecraft and MinecraftForge both compile against Java 8 and as such should be used for development. Obtain a Java 8 Development Kit (JDK) and a 64-bit Java Virtual Machine (JVM).The rest of this documentation is about where to go from here. This is a simple guide to get you from nothing to a basic mod.
