-
Notifications
You must be signed in to change notification settings - Fork 0
Environment Setup
minhnh303 edited this page Jun 7, 2026
·
1 revision
If you are a developer looking to compile Yet-Another-Thirst or integrate it into your own modding environment, here is how you can get started.
Yet-Another-Thirst is a multi-loader project targeting Forge and NeoForge on Minecraft 1.20.1 using Java 17.
-
/common/: Platform-neutral mod logic, events, mixins, registries, and item definitions. -
/forge/: Forge-specific mod entry points and event setups. -
/neoforge/: NeoForge-specific mod entry points and event setups.
- Java Development Kit (JDK) 17
- Internet connection (to fetch Gradle dependencies and Minecraft assets)
Open a terminal in the root project folder:
# Build the entire project and output jars for all loaders
./gradlew build
# Build only the Forge loader jar
./gradlew :forge:build
# Build only the NeoForge loader jar
./gradlew :neoforge:build
# Clean build cache
./gradlew cleanTo start a local Minecraft client with Yet-Another-Thirst loaded:
# Run Forge client
./gradlew :forge:runClient
# Run NeoForge client
./gradlew :neoforge:runClientTo start a dedicated server:
# Run Forge server
./gradlew :forge:runServer
# Run NeoForge server
./gradlew :neoforge:runServerTo add Yet-Another-Thirst as a dependency in your own project, configure CurseMaven:
In your project's build.gradle repositories block:
repositories {
maven {
url "https://cursemaven.com"
content {
includeGroup "curse.maven"
}
}
}In your dependencies block:
dependencies {
// Replace FILE_ID with the desired Yet-Another-Thirst CurseForge build file ID
implementation fg.deobf("curse.maven:yet-another-thirst-987654:FILE_ID")
}After adding the dependency, update your workspace runs. For example:
- IntelliJ IDEA:
./gradlew genIntellijRuns - Eclipse:
./gradlew eclipse - VS Code / Generic:
./gradlew compileJava