-
Notifications
You must be signed in to change notification settings - Fork 0
Developer Setup and Building
Rifaditya edited this page Aug 9, 2026
·
1 revision
| Requirement | Environment Specification |
|---|---|
| JDK Version | Java 25 (Adoptium HotSpot jdk-25.0.3.9-hotspot) |
| Gradle Engine | Gradle 9.3+ (--no-daemon mandatory) |
| Fabric Loom Plugin | Loom 1.15+ |
| Build Command | ./gradlew build --no-daemon |
| Test Command | ./gradlew test --no-daemon |
| Output Jar Location | build/libs/better-bats-1.1.23+26.2.jar |
Before setting up or compiling Better Bats from source:
-
Install JDK 25: Download Java 25 (Adoptium OpenJDK). Verify using
java -version. -
Configure
JAVA_HOME: SetJAVA_HOMEto your JDK 25 path (e.g.C:/Program Files/Eclipse Adoptium/jdk-25.0.3.9-hotspot). -
Gradle Configuration: Ensure
gradle.propertiesreferences JDK 25:org.gradle.java.home=C:/Program Files/Eclipse Adoptium/jdk-25.0.3.9-hotspot
To compile and package the production JAR without launching background daemons:
# Clean and build release JAR
./gradlew build --no-daemonUpon successful compilation, the built release JAR will be generated in build/libs/:
better-bats-1.1.23+26.2.jarbetter-bats-1.1.23+26.2-sources.jar
Execute JUnit and GameTest headless suites to verify entity mechanics prior to release:
# Run automated headless test suite
./gradlew test --no-daemon- Clone the repository to your local workspace directory.
- Open IntelliJ IDEA or VS Code and select Open Project pointing to
Better Bats 26.2. - Import as a Gradle project. Allow Loom to auto-generate Fabric mappings and run configurations.
- Execute
./gradlew genSourcesif workspace source definitions require indexing.
Better Bats Wiki โข Copyright ยฉ 2026 Dasik (Rifaditya) โข Licensed under GNU GPLv3
๐ The documentation in this Wiki reflects the current source code state in the repository.
- Bat Ecology & Photophobia
- 3D BOIDs Flocking & Math
- Guano Crop Fertilization
- Phototaxis & Light Orbiting
- Pest Control Combat
- Echolocation & Panic
- Chiroptera Genetics
- Dynamic GameRules
- Ambient Spawning Rules
- HUD & Client GUI Config
- Commands & Advancements
- Sounds & Particle Effects
- Troubleshooting & FAQ