-
Notifications
You must be signed in to change notification settings - Fork 0
26.2 Developer Setup and Building
Rifa edited this page Aug 21, 2026
·
1 revision
| Parameter | Specification |
|---|---|
| Target Minecraft Version |
Minecraft 26.2 (minecraft: >=26.2-) |
| Java Toolchain |
Java 25 (release = 25, org.gradle.java.home=E:/JDK25) |
| Fabric Loom Plugin |
net.fabricmc.fabric-loom version 1.15.2
|
| Fabric Loader |
0.19.1 (loader_version) |
| Fabric API | 0.145.4+26.1.2 |
| DasikLibrary |
1.7.4 (Hard Requirement) |
| Build Command | ./gradlew build --no-daemon |
| Primary Build Artifact | build/libs/collapsible-game-rules-1.0.9+26.2.jar |
| Sources Artifact | build/libs/collapsible-game-rules-1.0.9+26.2-sources.jar |
To compile and contribute to Collapsible Game Rules from source, ensure your environment meets the following requirements:
- Java Development Kit (JDK): JDK 25+ (e.g. Eclipse Temurin, OpenJDK 25).
-
Build System: Gradle 9.3+ (managed automatically via
./gradlewwrapper). - IDE: IntelliJ IDEA, VS Code, or Antigravity with modern Java 25 & Loom support.
git clone https://github.com/Rifaditya/Collapsible-Game-Rule-Screen.git
cd Collapsible-Game-Rule-Screen/collapsible-game-rulesEnsure gradle.properties references your local JDK 25 installation path:
org.gradle.parallel=true
org.gradle.java.home=E:/JDK25Execute the Gradle build task:
./gradlew build --no-daemonThe compiled release artifact will be generated in build/libs/:
collapsible-game-rules-1.0.9+26.2.jarcollapsible-game-rules-1.0.9+26.2-sources.jar
plugins {
id 'net.fabricmc.fabric-loom' version '1.15.2'
id 'maven-publish'
id 'me.modmuss50.mod-publish-plugin' version '2.0.0-beta.1'
}
version = project.mod_version
group = project.maven_group
base {
archivesName = project.archives_base_name
}
repositories {
mavenLocal()
maven { url = "https://maven.fabricmc.net/" }
mavenCentral()
}
dependencies {
minecraft "com.mojang:minecraft:${project.minecraft_version}"
implementation "net.fabricmc:fabric-loader:${project.fabric_loader_version}"
implementation "net.fabricmc.fabric-api:fabric-api:${project.fabric_version}"
// Standalone Library (No JiJ)
implementation "net.dasik.social:dasik-library:${project.dasik_library_version}"
}
tasks.withType(JavaCompile).configureEach {
it.options.release = 25
}
loom {
mixin {
defaultRefmapName = "collapsible-game-rules-refmap.json"
}
}All builds include zero-dependency runtime classloader verification:
public class CollapsibleGameRulesFabric implements ModInitializer {
@Override
public void onInitialize() {
ModVersionGuard.checkClass("Collapsible Game Rules", "net.minecraft.world.level.gamerules.GameRules");
// Hard Dependency Enforcement
if (!FabricLoader.getInstance().isModLoaded("dasik-library")) {
throw new RuntimeException("Collapsible Game Rules requires DasikLibrary to function. Please install it.");
}
}
}The project integrates me.modmuss50.mod-publish-plugin for automated multi-platform release publishing:
./gradlew publishModsTarget distribution endpoints:
-
Modrinth: Project ID
lObgjyJl -
CurseForge: Project ID
1468932 -
GitHub Releases:
Rifaditya/Collapsible-Game-Rule-Screen
Collapsible Game Rules โข Built & Maintained by Dasik (Rifaditya)
Released under the GNU General Public License v3.0 (GPL-3.0-or-later)
GitHub Repository โข Modrinth โข CurseForge โข Issue Tracker
๐ Repository Source Disclaimer: The documentation in this Wiki reflects the current source code state in the repository, which may include recent unreleased commits or developmental features ahead of public release builds on CurseForge and Modrinth.
- ๐๏ธ Collapsible Categories
- ๐ Global Actions & Bulk Toggles
- ๐ Smart Search Integration
- โจ๏ธ Keyboard Navigation & Accessibility
- ๐ง State Persistence & JSON Config
- โจ Category Prettification & Naming
- ๐๏ธ Game Rule Presets & Widgets
- ๐ GameRules Reference Table
- ๐ฌ Brigadier Commands & Absence Scope
- ๐ Advancements & Absence Scope
- ๐ฅ๏ธ HUD, Diagnostics & Rendering
- ๐ ๏ธ Developer Setup & Gradle Builds
- ๐งฉ Architecture & Mixin Subsystem
- ๐ DasikLibrary API Integration
Dasik (Rifaditya) | GPLv3