- Clone or download this repository to your computer.
- Open the project in IntelliJ IDEA.
- If your default JVM/JDK is not Java 17 you will encounter an error when opening the project. This error is fixed by going to
File > Settings > Build, Execution, Deployment > Build Tools > Gradle > Gradle JVM
and changing the value to a valid Java 17 JVM. You will also need to set the Project SDK to Java 17. This can be done by going toFile > Project Structure > Project SDK
. Once both have been set open the Gradle tab in IDEA and click the refresh button to reload the project. - Open the Gradle tab in IDEA if it has not already been opened. Navigate to
Your Project > Common > Tasks > vanilla gradle > decompile
. Run this task to decompile Minecraft. - Open your Run/Debug Configurations. Under the Application category there should now be options to run Forge and Fabric projects. Select one of the client options and try to run it.
- Assuming you were able to run the game in step 5 your workspace should now be set up.