🛠️ MC 26.2 開發者環境配置與建置指南
📌 存放庫原始碼免責聲明:本 Wiki 中的文件反映了存放庫中的當前原始碼狀態,可能包含領先於 CurseForge 與 Modrinth 上公開版本的近期未發布提交或開發特性。
💻 26.2 Toolchain & Build Specifications
| Tool / Dependency | Version / Requirement | Notes |
|---|---|---|
| Target Minecraft | 26.2 | Official Mojang release anchor |
| Java Development Kit | JDK 25 (>=25) | Temurin / OpenJDK 25 HotSpot |
| Gradle Wrapper | Gradle 9.3.1 | Native wrapper scripts included |
| Fabric Loader | 0.16.10 | Loom Fabric loader runtime |
| Fabric API | 0.142.1+26.1 | Snapshot event bus & networking |
| DasikLibrary | 1.6.9+build.14 | Dynamic GameRule API provider |
🏗️ Step-by-Step Build Instructions
1. Navigate to the 26.2 Subproject
powershell
cd "Creative Fly Speed"2. Execute Headless Gradle Build
powershell
./gradlew clean build --no-daemon3. Output Location
Creative Fly Speed/build/libs/
├── creative-fly-speed-1.0.0+26.2.jar <-- Production Mod JAR
└── creative-fly-speed-1.0.0+26.2-sources.jar