- Conventions and Terminology
- Development Tools
This is an old revision of the document!
maven_groupto your preferred values.
You can generate the Minecraft sources for reference (since IDEA already has a decompiler this is only useful for searching through the code) :
genSources Gradle task. If your IDE doesn't have Gradle integration, then run the following command in the terminal:
gradlew genSources (or
.gradlew genSources on Linux/MacOS).
If you are using IntelliJ IDEA by JetBrains, please follow these steps:
gradlew ideafirst, then import the Project to IDEA.
Run → Edit Configurations…. In
Run/Debug Configurationdialog, find
Application > Minecraft Clientand change
Use classpath of moduleform
[ProjectName].main, then change for
Application > Minecraft Serveras well. After pressing OK, you will know see Minecraft Client and Minecraft Server now showing up at Run/Debug Toolbar.
If you are using Eclipse and you would like to have the IDE run configs you can run
If you are using VSCode by Microsoft, please follow these instructions
You many also use GeneratorFabricMod by ExtraCrafTX, a convenient tool to automatically generate new fabric mods from template. Follow these steps:
.gradle/caches/fabric-loom). Those will generally be announced as they are identified.
Sometimes, when importing the Gradle project into an IDE, the assets might not download correctly. In this case, run the
downloadAssets task manually - either using IDE's built-in menu or by simply running