This tutorial assumes you have already
- Read the Pre-requisites
- Downloaded the latest Forge MDK
- Setup your mod folder as described at the top of the main Forge 1.14.4 tutorials page
- Read and followed 1.0 - Gradle Configuration
- Chosen IntelliJ from 1.1 - Importing the project into your IDE
IntelliJ
- Open build.gradle as a Project by going to
Menu > Import > build.gradle
orFile > Open > build.gradle > Open as Project
to switch if you are already working on another project
- Use default settings
Personally I uncheckCreate separate module per source set
- Wait for build sync to download everything and finish
This will take a while as Forge downloads everything and sets up your modding environment.
- Refresh gradle project
- Run the task
genIntellijRuns
to generate the run configs to run minecraft
- Go to the Run Configurations menu and fix (set the module of) your
runClient
run configuration
Save your changes
All of these run configs launch minecraft.
runClient
launches the minecraft clientrunData
launches minecraft in a special mode that only does the bare minimum required to automatically generate json files like recipes and blockstates.runServer
launches the minecraft server
- Run the game
Troubleshooting
When asking for help make sure to include your console log.