Repository navigation
Compared with v1.6.0, this release redesigns the map UI and landmark symbols across Xaero's World Map and JourneyMap, adds a unified layers popover with configurable dock placement, and keeps full multi-car train consists visible at every zoom level on all six supported builds.
Added
- Host-safe map HUD and shared layers popover. On Xaero's World Map, localized
Routes,TracksandMTR ▾controls sit cleanly clear of HowToGo'sMap displayand Create toggles (top_rightby default, orleftviahudDock//mtrmap config hudDock), while JourneyMap adds a nativeLAYERStoolbar toggle. Both hosts share a floating popover for all eight layer/visibility switches, PIDS theme selection and HUD dock placement with immediate persistence. - Redesigned vector landmarks and continuous zoom scaling. Station roundels, route-colored interchange rings (up to four distinct routes, hollow gray rings for empty stations), chamfered platform stop badges (upgrading to compact numbered pill badges at close zoom
>=1.50x), and amber depot diamonds render via procedural vector geometry (RenderType.gui()), fading and scaling smoothly across overview, city and close zooms. - Overlap suppression and status diagnostics. Overlapping platform markers tuck cleanly under visible parent stations until zoom separates them. A dark status pill with a three-line diagnostic tooltip (distinguishing full sync, sync-disabled nearby fallback, unsupported nearby fallback and disabled state) and a top-center focus pill complete the HUD.
Optimized and fixed
- Kept full world-scaled multi-car train consists along track headings at every zoom level and removed the separate overview cab marker.
- Unified Z-order flushing (
GuiGraphics.flush()) and single-winner Layer-5 tooltip arbitration, fixing transparent HUD bleed-through, JourneyMap icons drawing over train hover tooltips, and duplicate Xaero tooltips. - Normalized
||/|MTR name delimiters across tooltips, panel headers, PIDS rows and landmark titles, added colored route swatches and same-stationSTATION-over-PLATFORMdeduplication, and improved PIDS readability with adaptiveplatform/etacolumns, static route terminus fallback,…ellipsis truncation and a compact scrollbar. - Maintained six-platform parity: NeoForge/Fabric MC 1.21.1 targets MTR 4.1.0-beta.2 and Java 21; Forge/Fabric MC 1.20.1 and 1.20.4 target MTR 4.0.5 and Java 17.
中文更新说明
相较 v1.6.0,本版全面重构了 Xaero 世界地图与 JourneyMap 的地图界面、站点与站台图标样式及缩放分级逻辑,新增统一图层浮层与停靠位置配置,并在全部六个支持平台上保持各缩放层级完整的贴轨多节列车显示。
新增功能
- 宿主避让控件与统一图层菜单:Xaero 保留本地化
Routes/Tracks/MTR ▾文字按钮,默认避让 HowToGoMap display与 Create 控件(支持通过菜单或/mtrmap config hudDock切换top_right/left停靠);JourneyMap 新增第 3 个原生LAYERS工具栏按钮。双地图共用浮动图层菜单,集中控制 8 项图层/可见性开关、PIDS 主题与停靠位置并即时保存。 - 重设计矢量地标与连续缩放分级:站点圆环(支持多线换乘分段色环与空站中空灰环)、路线色斜切站台停靠牌(近距离
>=1.50x短标识自动升级为带路线色条的紧凑号牌)及琥珀色车辆段菱形改用高清矢量绘制,在远景微点、中景与近景间平滑缩放与淡入淡出。 - 防遮挡抑制与状态诊断胶囊:未与母站分离的重叠站台自动收纳直至放大显现;状态胶囊提供三行诊断悬浮提示(区分用户关闭同步、服务端未支持回退附近列车与禁用状态),聚焦返回胶囊移至顶部居中。
优化与修复
- 全程按世界坐标比例沿着轨道方向绘制完整多节车厢编组,移除独立直立车头标记。
- 统一
GuiGraphics.flush()分层深度与唯一悬停 Tooltip 仲裁,消除面板透字、修复 JourneyMap 图标遮挡列车 Tooltip 以及 Xaero 双重悬浮框问题。 - 统一将 MTR 名称中的
||/|规范格式化,为站点悬浮窗与标题补充线路色块及同站优先STATION的去重逻辑,并改进 PIDS 自适应列宽、无 ETA 终点回退、…省略截断与 3px 滚动条。 - 同步支持六大平台:MC 1.21.1 NeoForge/Fabric 对应 MTR 4.1.0-beta.2 与 Java 21;MC 1.20.1/1.20.4 Forge/Fabric 对应 MTR 4.0.5 与 Java 17。
MC 1.20 Changelog: v1.6.0-mc1.20...v1.6.1-mc1.20
Full Changelog: v1.6.0...v1.6.1
CI provenance and manual acceptance
Candidate: https://github.com/teamCreating/MTR-Map-Overlay/actions/runs/47279712770
Manifest SHA-256: dbc513233a235bc855af5c181452e33a8e2eabd9a1071db2f06a9b2b052d6d89
Main: 74fca8ab18bdd66b323d9f9e843fa3ee463a8d48; compat: 5e97c3ae0067f4bbefdfd54753b35a4cce32c121.
Accepted by A-BenLi06:
User-authorized v1.6.1 release; local 6-target builds/tests/verify_platform_matrix and NeoForge 1.21.1 Xaero/JourneyMap visual QA passed; Candidate 47279712770 passed all 6 CI targets.