A beginner-friendly guide to build, run, and contribute to this Minecraft Fabric mod on Windows using IntelliJ IDEA. No prior Java experience required.
This project uses Gradle with Fabric Loom. The Gradle wrapper is included, so you do not need to install Gradle separately.
- Install tools (JDK, Git, IntelliJ IDEA)
- Clone this repository in IntelliJ
- Let Gradle set up automatically
- Run the dev server and accept the EULA
- Build the mod JAR
- Use the Feature Branch Workflow to contribute changes
- Java Development Kit (JDK):
- Temurin (Adoptium): https://adoptium.net/temurin
- Oracle JDK: https://www.oracle.com/java/technologies/downloads
- Git for Windows: https://git-scm.com/download/win
- IntelliJ IDEA Community (free): https://www.jetbrains.com/idea/download/
Tip: After installing, close and re-open your terminal/IDE so new PATH settings take effect.
Use IntelliJ’s built-in Git support. This sets up the project and Gradle in one flow.
From the Welcome screen:
- Click "Get from VCS" (or "New > Project from Version Control").
- In the Repository URL field, paste:
- Choose a local Directory for the project.
- Click "Clone", then "Trust Project" when prompted.
From an already-open IntelliJ window:
- VCS menu > "Get from Version Control…"
- Paste the same URL and choose a Directory.
- Click "Clone", then "Trust Project" when prompted.
What happens next (usually automatic):
- IntelliJ detects the Gradle build and loads the project.
- It uses the Gradle Wrapper (gradlew) automatically.
- It downloads dependencies and indexes the project (may take a few minutes).
- If IntelliJ needs anything (e.g., a JDK choice), it will prompt you. Accept the defaults or pick your installed JDK.
Recommended IntelliJ plugins
- Minecraft Development (adds Minecraft/Fabric project support and helpful inspections)
- File > Settings > Plugins > Marketplace
- Search for "Minecraft Development"
- Click Install, then Restart IDE if prompted
- Git and Gradle plugins are bundled and usually enabled by default
- Optional: GitHub (Pull Requests and Issues) plugin for reviewing PRs inside IntelliJ
Optional checks (only if asked by IntelliJ):
- Gradle JVM: File > Settings > Build, Execution, Deployment > Build Tools > Gradle > Gradle JVM. If prompted, select your installed JDK.
- Plugins: File > Settings > Plugins. Ensure Git/Gradle are enabled.
Open the Gradle tool window:
- View > Tool Windows > Gradle. You’ll run tasks like runServer and build from here. Use its search box to find tasks quickly.
Run directly from IntelliJ.
IntelliJ IDEA
- Gradle tool window > search "runServer" > double-click runServer.
- The Run tool window will open and show the server console.
First run EULA prompt
- The server will stop and ask you to accept the EULA.
Accept the EULA
# Open the EULA in Notepad, change eula=false to eula=true, save
notepad .\run\eula.txtThen run the server again from the Gradle tool window (double-click runServer).
Tips
- Logs:
run/logs/latest.log - Server settings (like the port):
run/server.properties - Stop the server by typing
stopin the console (Run tool window).
(Optional) Run from PowerShell
./gradlew.bat runServerRun the build task from IntelliJ.
IntelliJ IDEA
- Gradle tool window > search "build" > double-click build under the build group.
When it finishes, your mod JAR will be in:
build/libs/(pick the file without-sourcesor-devin the name).
(Optional) Build from PowerShell
./gradlew.bat buildA simple process to make and review changes using Git and GitHub.
- Make sure you’re on the main branch and up to date
git checkout main
git pull --rebase- Create a feature branch (name it after the change)
git checkout -b feature/short-description- Make your changes in IntelliJ, then stage and commit
git add .
git commit -m "feat: short description of the change"- Push your branch to GitHub
git push -u origin feature/short-description- Open a Pull Request (PR)
- Go to your repository on GitHub. You’ll see a prompt to compare & create a PR.
- Add a clear description, link any issues, and submit the PR for review.
- Keep your branch up to date (if main changes)
git checkout main
git pull --rebase
git checkout feature/short-description
git rebase main
# If there are conflicts, resolve in IntelliJ, then:
git add .
git rebase --continue- After approval, merge the PR on GitHub. Delete the feature branch when done.
IDE tips for Git
- IntelliJ: View > Tool Windows > Git for history and changes. Use the Git toolbar for commit, branch, and push.
- Pull Requests: Tools > GitHub > Open In Browser (or install the GitHub plugin for in-IDE PRs if desired).
- Reload Gradle project
- In the Gradle tool window, click the Refresh/Reload button.
- Refresh dependencies
./gradlew.bat --refresh-dependencies- Clean then rebuild
./gradlew.bat clean build- If Gradle sync fails
- Use the Gradle "Reload/Refresh" action.
- If prompted for a JDK, select your installed JDK.
- If behind a proxy, configure proxy settings in Gradle/IDE.
- Java not found
- Install a JDK, then restart IntelliJ.
- Port already in use when running the server
- Stop other servers, or change
server-portinrun/server.propertiesto a free port.
- Stop other servers, or change
- Gradle wrapper
- Always use the included wrapper (gradlew). IntelliJ does this automatically when you import the project.
# Run the dev server
./gradlew.bat runServer
# Build the mod
./gradlew.bat build
# Clean and rebuild
./gradlew.bat clean build
# Open EULA for editing
notepad .\run\eula.txt
# Open server properties
notepad .\run\server.properties- Source code:
src/main/java - Resources (mod metadata, assets):
src/main/resources - Built artifacts:
build/libs/ - Dev server files (world, logs, configs):
run/
If you get stuck, please open an issue and include your OS version, what you tried, and the last ~50 lines from run/logs/latest.log or the Gradle error output.