All versions
2.1.0
Release
atrain 2.1.02 weeks ago 38
Compatibility
Minecraft: Java Edition
26.3
Platforms
Folia
Paper
Purpur
Spigot
Changes
### v2.1.0 正式版 — 原生適配 Minecraft 26.3 / Java 25 與 BlueMap 軟依賴解耦
🚀 原生支援 Minecraft / Paper 26.3 ("Wilderness Bound") 與 Java 25
- 運行與編譯環境升級:全面適配 Java 25 (Class 69.0) 與 Paper 26.3 API (
io.papermc.paper:paper-api:26.3.build.+)。 - 描述檔規範適配:
plugin.yml原生支援api-version: '26.3',達成零警告無損載入。 - 現代資料元件 API:
ItemBuilder優先呼叫CustomModelDataComponent,維持現代化且平穩運行的物品模型自訂。
🗺️ BlueMap 軟依賴徹底解耦與 NoClassDefFoundError 崩潰修復
- 抽象掛鉤架構:實作
MapHook與BlueMapHook動態註冊機制,將所有 BlueMap 外部 API 徹底隔離。 - 未安裝環境安全守護:啟動時動態偵測 BlueMap 是否存在,未安裝時安全跳過,杜絕啟動時因找不到 Marker 類別而導致的崩潰。
- 通用工具類別斬斷依賴:清理
ColorUtil移除對 BlueMap 顏色類別的直接依賴,還原為通用獨立工具類別。
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:YKKoqUX8:UB76fMrJ"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:YKKoqUX8:UB76fMrJ"
}
