Before building, make sure you’ve completed the development environment setup.
Build All Versions
To build Essential for all supported Minecraft versions:- Build Essential for all Minecraft versions (1.8.9, 1.12.2, 1.16.2+, 1.17+, 1.18+, 1.19+, 1.20+, 1.21+)
- Build for all supported mod loaders (Forge, Fabric, NeoForge)
- Automatically build the Essential Loader (included in pinned jars)
- Generate both container and pinned jar files
Build Specific Version
To build for a specific Minecraft version:Examples
Building any version other than the main version (currently 1.12.2) will require all versions between it and the main version to be set up regardless. The time saved over building all versions may vary wildly.
Output Files
Once the build finishes, you’ll find the Essential jars in:Two Types of Jars
Each build produces two jar files:pinned_*.jar - Distribution Jar
pinned_*.jar - Distribution Jar
The jar file starting with
pinned_ is the mod file made available via:- Modrinth
- CurseForge
Essential*.jar - Update Jar
Essential*.jar - Update Jar
The other jar file (not starting with
pinned_) is downloaded by:- In-game update functionality
- Third-party mods which embed the Essential Loader
- Thin container mods available on essential.gg/download
- The Essential Installer
Version Aliases
Some Essential versions are compatible with multiple Minecraft versions. Theversions/aliases.txt file contains the exact mapping:
aliases.txt.
Build Arguments
The GitHub Actions workflow uses the following Gradle arguments:--stacktrace flag provides detailed error information if the build fails.
Troubleshooting
Build fails with Java version error
Build fails with Java version error
Ensure Java 21 (or newer) is your default Java version:Also verify all required JDK versions (8, 16, 17, 21) are installed.
Submodule errors during build
Submodule errors during build
Update your git submodules:
Out of memory errors
Out of memory errors
The project is configured with
-Xmx16G in gradle.properties. Ensure your system has sufficient memory, or adjust this value if needed.Next Steps
Verify Your Build
Verify checksums match official releases
Build Essential Loader
Build loader stages and platforms separately