🛠️ Environnement Développeur et Compilation
| Paramètre | Détails techniques |
|---|---|
| Version cible de Java | Java 25 (Hotspot JDK 25) |
| Automatisation de build | Gradle 9.3+ avec Loom 1.15+ (id 'net.fabricmc.fabric-loom') |
| Minecraft Target | 26.2 |
| Fabric Loader | 0.19.3 |
| Fabric API (Build) | 0.152.2+26.2 |
| Build Flag | --no-daemon |
🚀 Step-by-Step Environment Setup
1. Prerequisites
- Installez JDK 25 (par exemple Eclipse Adoptium Temurin 25).
- Configure
gradle.properties:propertiesorg.gradle.java.home=C:/Program Files/Eclipse Adoptium/jdk-25.0.3.9-hotspot
2. Cloner le dépôt
bash
git clone https://github.com/Rifaditya/Vanilla-Outsider-Bed-Chat-Hider.git
cd Vanilla-Outsider-Bed-Chat-Hider3. Compiler le JAR de publication
bash
./gradlew build --no-daemonLe fichier JAR compilé sera généré dans build/libs/vanilla-outsider-bed-chat-hider-1.0.4+26.2.jar.
4. Lancer le client de développement
bash
./gradlew runClient --no-daemon📁 Structure des répertoires du code source
Vanilla-Outsider-Bed-Chat-Hider/
├── gradle/
├── src/
│ └── main/
│ ├── java/
│ │ └── net/vanillaoutsider/bedchathider/
│ │ ├── BedChatHiderClient.java
│ │ ├── mixin/
│ │ │ ├── ChatScreenMixin.java
│ │ │ └── InBedChatScreenMixin.java
│ │ └── util/
│ │ └── ModVersionGuard.java
│ └── resources/
│ ├── assets/vanilla-outsider-bed-chat-hider/
│ │ ├── icon.png
│ │ └── lang/en_us.json
│ ├── fabric.mod.json
│ └── vanilla-outsider-bed-chat-hider.mixins.json
├── build.gradle
└── gradle.propertiesPages connexes: Accueil | Architecture et Analyse des Mixins | Compatibilité des Versions
