CleanroomMC / TemplateDevEnv

Template workspace for modding Minecraft 1.12.2
MIT License
88 stars 31 forks source link
coremod forge gradle minecraft mixin modding template

TemplateDevEnv

Template workspace for modding Minecraft 1.12.2. Licensed under MIT, it is made for public use.

This template runs on Java 21! Currently utilizies Gradle 8.10.1 + RetroFuturaGradle 1.4.1 + Forge 14.23.5.2847.

With coremod and mixin support that is easy to configure.

Instructions:

  1. Click use this template at the top.
  2. Clone the repository that you have created with this template to your local machine.
  3. Make sure IDEA is using Java 21 for Gradle before you sync the project. Verify this by going to IDEA's Settings > Build, Execution, Deployment > Build Tools > Gradle > Gradle JVM.
  4. Open the project folder in IDEA. When prompted, click "Load Gradle Project" as it detects the build.gradle, if you weren't prompted, right-click the project's build.gradle in IDEA, select Link Gradle Project, after completion, hit Refresh All in the gradle tab on the right.
  5. Run gradle tasks such as runClient and runServer in the IDEA gradle tab, or use the auto-imported run configurations like 1. Run Client.

Mixins: