Compatibility
Minecraft: Java Edition
Platforms
Supported environments
Tags
Creators
Details
English
MTR Map Overlay is a Minecraft 1.21.1 add-on for NeoForge or Fabric. It reads Minecraft Transit Railway (MTR) data and integrates with Xaero's World Map and JourneyMap. It does not depend on MTR Surveyor's map.
Features
| Map | Overlay |
|---|---|
| Xaero's World Map | Physical rail geometry, route-coloured ribbons, and compact station, platform and depot icons. Hover to inspect routes and landmarks. |
| JourneyMap | Physical rails, shared-route colour bands, and station, platform and depot icons on the fullscreen map, with separate TRACKS and ROUTES controls. |
These are map-only icons, not ordinary Xaero waypoints: they do not fill the waypoint list, compass, minimap or in-world HUD. Multiple routes on one physical rail occupy adjacent colour bands rather than overwriting one another. Both map integrations draw physical rails first, coloured routes on top, and station/platform icons last. In JourneyMap, the entire layer follows the map's live drag and zoom transform; track width matches Xaero's screen-pixel style.
When the mod is installed on the server as well as the client, it can request a whole-network snapshot for each dimension. Without the server component it still works, but can show only the nearby data MTR has sent to the client. Xaero and JourneyMap are optional integrations; install either or both.
Requirements and installation
| Component | Requirement |
|---|---|
| Minecraft | 1.21.1, Java 21 |
| Mod loader | NeoForge 21.1.x or Fabric Loader with Fabric API |
| MTR | 4.1.0-beta.2, built for the same loader |
| Map mod | Xaero's World Map 1.45.0+ and/or JourneyMap 6.0.8+ for the respective loader |
| Xaero's Minimap | Optional; used only to remove old [MTR] waypoints created by earlier releases |
- Download the NeoForge or Fabric JAR from Releases. Install one, not both, in the client's
modsdirectory. - Install MTR and your chosen map mod for that same loader. Fabric additionally needs Fabric API.
- Optionally install the matching MTR Map Overlay JAR and MTR on the server to enable the whole-network view. Client and server must use the
mtrmapmod ID; oldermtrsurveyorbuilds are not compatible with this release. - Open Xaero's World Map or JourneyMap's fullscreen map. Both maps have matching
ROUTESandTRACKSicons (green left bar = on, red = off); JourneyMap puts them in its add-on button panel. The/mtrmap config routeLinesandtrackLinesswitches apply to both maps. Hover over a line or icon for details.
The server component is not required for client-only use. NeoForge and Fabric builds and the shared headless tests are checked for this release; Fabric map rendering and cross-machine network behaviour still need in-game validation. See release notes.
Commands and configuration
Commands are registered on the client, so they are available even when the server does not run this mod.
| Command | Purpose |
|---|---|
/mtrmap syncRoutes |
Request a whole-network snapshot, if the server supports it. |
/mtrmap syncLandmarks |
Refresh JourneyMap landmarks. |
/mtrmap testMarker |
Place a JourneyMap diagnostic marker at the player. |
/mtrmap mode station|platform|both |
Select the client-data fallback landmark mode. |
/mtrmap config enabled <true|false> |
Enable or disable the map overlay. |
/mtrmap config showStations <true|false> |
Show or hide station icons. |
/mtrmap config showPlatforms <true|false> |
Show or hide platform icons. |
/mtrmap config showDepots <true|false> |
Show or hide depot icons. |
/mtrmap config routeLines <true|false> |
Show or hide route ribbons on both maps. |
/mtrmap config trackLines <true|false> |
Show or hide physical rails on both maps. |
NeoForge stores settings in config/mtrmap.toml and copies an existing mtrsurveyor.toml on first launch when the new file is absent. Fabric uses config/mtrmap.properties with its own defaults. The two formats are not automatically interchangeable. Important options include networkSync.enabled (default true), networkSync.refreshIntervalSeconds (default 300), and the station/platform/depot visibility switches.
中文
MTR Map Overlay 是适用于 Minecraft 1.21.1 NeoForge 或 Fabric 的地图扩展。它读取 Minecraft Transit Railway(MTR) 的数据,绘制到 Xaero's World Map 和 JourneyMap;不依赖 MTR Surveyor 的地图。
功能
| 地图 | 显示内容 |
|---|---|
| Xaero's World Map | 真实轨道几何、路线色带,以及小型车站、站台、车辆段图标;悬停查看详情。 |
| JourneyMap | 仅在全屏地图显示真实轨道、共线路线色带,以及车站、站台和车辆段图标;提供独立的 TRACKS 与 ROUTES 开关。 |
这些是地图内图标,不是普通 Xaero 路标,不会挤满路标列表、指南针、小地图或游戏内 HUD。同一条物理轨道有多条路线时,颜色并排显示,不再互相覆盖。两种地图都先绘制轨道,再叠加路线,最后绘制站点与站台图标。JourneyMap 整层跟随地图实时拖动和缩放;轨道宽度与 Xaero 的屏幕像素样式一致。
客户端和服务端都安装本 mod 时,可按维度获取全网快照。如果服务端没有安装,本 mod 仍可工作,但只能显示 MTR 已同步到客户端的附近数据。Xaero 与 JourneyMap 都是可选集成,可以只装其中一个,也可以同时安装。
依赖与安装
| 组件 | 要求 |
|---|---|
| Minecraft | 1.21.1、Java 21 |
| 加载器 | NeoForge 21.1.x 或 Fabric Loader + Fabric API |
| MTR | 与所选加载器对应的 4.1.0-beta.2 |
| 地图 mod | 与加载器对应的 Xaero's World Map 1.45.0+ 和/或 JourneyMap 6.0.8+ |
| Xaero's Minimap | 可选;只用于清理旧版本创建的 [MTR] 路标 |
- 从 Releases 下载与你的加载器对应的 NeoForge 或 Fabric JAR,放入客户端
mods目录。不要同时安装两个版本。 - 安装同一加载器的 MTR 和所需地图 mod;Fabric 还必须安装 Fabric API。
- 如需全网地图,可选地在服务器安装对应加载器版本的 MTR Map Overlay 和 MTR。客户端与服务端都必须使用新的
mtrmapmod ID;旧的mtrsurveyor版本与本版不兼容。 - 打开 Xaero's World Map 或 JourneyMap 全屏地图。两端使用配套的
ROUTES、TRACKS图标:左侧亮条绿色表示开、红色表示关;JourneyMap 的按钮位于附加按钮栏。/mtrmap config routeLines和trackLines也对两种地图生效。悬停在线路或图标上可查看详情。
纯客户端使用不要求服务端安装。本版 NeoForge、Fabric 构建与共用的无头测试已检查;Fabric 地图绘制及跨机器联机仍需游戏内验证,详见发布说明。
命令与配置
命令在客户端注册,连接没有安装本 mod 的服务器时也能使用。
| 命令 | 作用 |
|---|---|
/mtrmap syncRoutes |
在服务器支持时请求全网快照。 |
/mtrmap syncLandmarks |
刷新 JourneyMap 地标。 |
/mtrmap testMarker |
在玩家当前位置放置 JourneyMap 测试标记。 |
/mtrmap mode station|platform|both |
选择纯客户端回退时显示的地标类型。 |
/mtrmap config enabled <true|false> |
启用或关闭地图覆盖层。 |
/mtrmap config showStations <true|false> |
显示或隐藏车站图标。 |
/mtrmap config showPlatforms <true|false> |
显示或隐藏站台图标。 |
/mtrmap config showDepots <true|false> |
显示或隐藏车辆段图标。 |
/mtrmap config routeLines <true|false> |
显示或隐藏两种地图的路线色带。 |
/mtrmap config trackLines <true|false> |
显示或隐藏两种地图的轨道层。 |
NeoForge 配置位于 config/mtrmap.toml;如果新配置不存在,首次启动会从旧 mtrsurveyor.toml 复制设置。Fabric 使用 config/mtrmap.properties,从自身默认值开始;两种配置格式不会自动互转。主要配置包括 networkSync.enabled(默认 true)、networkSync.refreshIntervalSeconds(默认 300)及车站、站台、车辆段可见性开关。

