I solved it in two steps for Unity 2019.3.11f1: Go to Edit->Project Settings->Player->Publishing settings->Tick Custom Properties Gradle Template. DS_Store files that us Windows folk hate cleaning up Minecraft will attempt to parse these as resources, and I can't find a posted solution atm) and you might run into an issue with assets (solution linked). You should activate these files first here in the Project Setting->Player->Publishing Settings. When opening projects project from the root folder, in intellj idea, the run configurations for clean/forge client/server exist, but they are all erroneous since idea cannot find GradleStart and GradleStartServer in classpath. There may be additional issues if you are on a Mac (because of the auto-generated. gradle setupForge sets up a development environment for forge. Refresh the Gradle Project in IDEA if required.Run the following command: "gradlew genIntellijRuns" (./gradlew genIntellijRuns if you are on Mac/Linux).Select your adle file and have it import.Open the readme and follow the directions:.
I use this structure so that when I update from one version to another, I have an old workspace that still runs. Inside each of those is another folder that contains the zip archive contents (I used to skip this inner folder, but the project setup changed and Eclipse didn't like things not sure how IntelliJ plays). Extract the zip into a new folder, I use a nested structure where I have one folder called "Minecraft Mods" and inside that a folder for each version of Forge (e.g.Depending on your needs, the recommended version is fine, but as changes are being made regularly, downloading the most current might be beneficial.Download Minecraft Forge from, you'll want the MDK.