Development workspace setup for Minecraft 1.17

This guide is intended for people wishing to help with the creation of the mod. It assumes you know the basics of git and java. Guide aimed on InteliJ IDEA. Sorry, Eclipse is not covered but should be pretty similar.

RebornCore is now part of Tech Reborn repository. Thus there is no need for a separate step for RC setup anymore.

  1. Open InteliJ IDEA and Create a new project from Source control
  2. Clone Tech Reborn repo (https://github.com/TechReborn/TechReborn.git). 1.17 branch is default at the time of writing. Change branch if it is not so.
  3. Gradle refresh will fail if you haven't update Gradle setting to use Java 16 yet. Change Gradle JVM and refresh Gradle project. Gradle project refresh will take several minutes, so you can grab a cup of coffee while it is working. You may also need to invalidate cache in IDEA after that step.
  4. Generate sources for dependencies
  5. Open the Gradle Settings dialog from the Gradle tab. Change the Build and run using and Run tests using fields to 'IntelliJ IDEA'.
  6. Go to File → Project Structure → Project and set Project compiler output to 'out' folder inside project folder
  • Last modified: 2021/06/02 12:08
  • by drcrazy