Before you can build Essential, you need to set up your development environment with the required tools and dependencies.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/SparkUniverse/Essential-Mod/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
Java Development Kits (JDKs)
Essential requires the following JDK versions:- Java 21 (or newer) - Must be the default Java version on your system
- Java 17
- Java 16
- Java 8
Java 21 (or newer) must be set as your default Java version. The build system will automatically use the other JDK versions as needed for specific Minecraft versions.
Git
You’ll need Git installed to clone the repository and manage submodules.Clone the Repository
Essential has several submodules that must be initialized:loader- Essential Loadersubprojects/pseudotcp/upstream- Jitsi PseudoTCP library
Or clone and initialize separately
If you already cloned without
--recursive, initialize the submodules:Gradle Wrapper
No manual Gradle installation is required. The repository includes the Gradle wrapper which will automatically download the correct version.
./gradlew(Linux/Mac)gradlew.bat(Windows)
Verify Your Setup
To verify your environment is configured correctly:Next Steps
With your environment set up, you’re ready to build Essential:Build Essential Mod
Build Essential for all or specific Minecraft versions
Build Essential Loader
Build the Essential Loader stages and platforms