Once your mod is ready for testing, you're able to export it into a JAR file which can be shared on mod hosting websites, or used to test your mod in production alongside other mods.
Choose Your IDE
IntelliJ IDEA Visual Studio Code
Building in the Terminal
WARNING
Using the terminal to build a mod rather than an IDE may cause issues if your default Java installation does not match what the project is expecting. For more reliable builds, consider using an IDE that allows you to easily specify the correct version of Java.
Open a terminal from the same directory as the mod project directory, and run the following command:
powershell
./gradlew.bat buildsh
./gradlew buildThe JARs should appear in the build/libs folder in your project. Use the JAR file with the shortest name outside development.
Installing and Sharing
From there, the mod can be installed as normal, or uploaded to trustworthy mod hosting sites like CurseForge and Modrinth.




