Skip to content

🛠️ Guide de Configuration Développeur & Compilation

📌 Avertissement sur la source du dépôt : La documentation de ce wiki reflète l'état actuel du code source dans le dépôt, qui peut inclure des commits non publiés ou des fonctionnalités en cours de développement en avance sur CurseForge et Modrinth.

1. Developer Environment Prerequisites

  • Java Development Kit (JDK): OpenJDK 25 (e.g., Eclipse Adoptium Temurin 25 with Hotspot).
  • Build System: Gradle 9.3+ (managed via project ./gradlew wrapper).
  • Fabric Tooling: Fabric Loom with Parchment mappings.
  • Core Dependencies:
    • Fabric Loader: >=0.19.1 (26.2) / >=0.19.3 (26.3)
    • Fabric API: 0.150.1+26.2 (26.2) / 0.156.1+26.3 (26.3)
    • DasikLibrary: >=1.8.3 (26.2) / >=1.8.36 (26.3)
    • Stack Size Adjuster: >=1.4.10+26.2 (26.2) / >=1.4.18 (26.3)

2. Workspace Setup & Repository Cloning

bash
git clone https://github.com/Rifaditya/Instant-Gratification-stew-stacker-addon.git
cd Instant-Gratification-stew-stacker-addon

3. Compilation & Build Tasks

bash
./gradlew build --no-daemon

4. Multi-Version Project Topology

Instant Gratification Collection/Stew Stacker Addon/
├── Archive Jar of all versions/             # Consolidated binary release repository
├── Doc/                                     # Documentation, descriptions, and assets
├── Wiki/                                    # Master GitHub Wiki documentation suite
├── stew-stacker-addon/                      # Minecraft 26.2 anchor root project
└── Stew Stacker Addon v26.3/
    └── stew-stacker-addon/                  # Minecraft 26.3 anchor root project

5. Addon Hook Integration Example

java
net.instantgratification.stacksizeadjuster.util.StackSizeManager.registerOverride(
    (item, originalSize) -> {
        if (item == net.minecraft.world.item.Items.SUSPICIOUS_STEW) {
            return 8; // Custom override
        }
        return -1; // Fallback to default
    }
);

6. Navigation Globale

Official documentation & web portal for Dasik Igaijinn mods.