Prerequisites
Before you begin, ensure you have the following installed:- Java Development Kit (JDK) 21 - Required for compilation
- Git - For cloning the repository
- An IDE - IntelliJ IDEA (recommended) or Eclipse
Setup Instructions
Install JDK 21
Download and install JDK 21 from Adoptium or your preferred JDK distribution.Verify installation:Should output Java version 21 or higher.
Generate IDE files
For IntelliJ IDEA:Then open the project folder in IntelliJ IDEA. The IDE will automatically detect it as a Gradle project.
Project Structure
The project uses the following key technologies:- Minecraft Version: 1.21.11
- Fabric Loader: 0.18.4
- Fabric API: 0.141.1+1.21.11
- Yarn Mappings: 1.21.11+build.3
- Fabric Loom: 1.14-SNAPSHOT
Gradle Configuration
The project is configured to use 1GB of memory for Gradle (
org.gradle.jvmargs=-Xmx1G).Configuration cache is disabled due to IntelliJ IDEA compatibility issues.Next Steps
Once your environment is set up, you can:- Build the mod JAR file
- Run the mod in a development environment
- Make changes and test them locally