All versions
1.6.0_beta_3
Beta
atrain 1.6.0_beta_33 months ago 6
Compatibility
Minecraft: Java Edition
26.2
26.1.x
1.21.x
Platforms
Folia
Paper
Purpur
Spigot
Changes
v1.6.0
- BlueMap 整合:線上地圖即時顯示站點標記與 3D 軌跡,並依照路線顏色渲染。
- 介面優化:重點站轉乘資訊從 ActionBar 移至聊天欄,並支援動態顯示去回程目的地。
- 路線與軌跡管理升級:
- 新增獨立站點排序 GUI,支援左右鍵直覺調整。
- 支援「多選重點站」,且各站點雙向互聯綁定。
- 實裝「自動取徑錄製」,兩站間直線不再需要用實體礦車跑,瞬間完成路線錄製。
- 軌跡儲存架構分離:將
lines.yml臃腫的座標點資料拆分為獨立檔案,存於plugins/atrain/routes/(格式:去程ID_回程ID.yml),大幅減輕設定檔負擔。 - 將自動尋路演算法從 BFS 升級為高效能的 A 演算法*,最高支援 100,000 格的超長距離掃描,徹底解決長路線掃描失敗導致移動異常的問題。
- 錄製段落選擇 GUI 支援直接刪除不需要的段落軌跡。
- 效能優化與修復:
- 將每 Tick 全域掃描礦車改為事件觸發的快取清單維護,大幅降低伺服器負載。
- 修復站點順序變更或合併時可能造成的軌跡錯亂與伺服器崩潰。
- GUI 存檔還原至主執行緒,避免並行寫入風險 (CME)。
- 修復去回程月台判定邏輯,現在站內 ActionBar 能夠準確依據玩家所在的月台側(去/回)正確反轉顯示上一站與下一站。
- 站點編輯 GUI 新增「傳送至另一側月台」的終界珍珠快捷按鈕。
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:WrUJPspM"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:YKKoqUX8:WrUJPspM"
}
