For Kotlin see TemplateDevEnvKt
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.12 + RetroFuturaGradle 1.4.1 + Forge 14.23.5.2847.
With coremod and mixin support that is easy to configure.
- Click
use this templateat the top. - Clone the repository that you have created with this template to your local machine.
- 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. - 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'sbuild.gradlein IDEA, selectLink Gradle Project, after completion, hitRefresh Allin the gradle tab on the right. - Run gradle tasks such as
runClientandrunServerin the IDEA gradle tab, or use the auto-imported run configurations like1. Run Client.
- Dependencies script in gradle/scripts/dependencies.gradle, explanations are commented in the file.
- Publishing script in gradle/scripts/publishing.gradle.
- When writing Mixins on IntelliJ, it is advisable to use latest MinecraftDev Fork for RetroFuturaGradle.