Distance Travel
by ThePhaseCat
Distance Travel counts how far a player walks or rides during a chosen session, using short chat commands.
What it does
A session begins with the dt start command and records the player's starting position. While it runs, the mod measures the distance covered from that point. Ending it with dt end closes the session, and dt stats reports the distance and the length of the most recent session. The mod was written for players on large railway networks, where working out a trip by hand takes complicated math, so the command output does that work instead.
Fabric API is required, and Mod Menu is optional; with it installed, the options screen opens from the mod list without any other step. Configuration uses the MidnightLib library, which provides the settings screen. Distance Travel is a client-side only mod, so only the player's client needs it, and the server does not. It targets Fabric for 1.20.1 – 26.3 and is released under the MIT License, so the source code is open source and public links to the code and issue tracker exist.
Key features
Session start and end
The dt start and dt end commands mark the beginning and the close of a tracked trip.
Session statistics
The dt stats command shows the distance and duration of the last tracking session.
Measured from start position
Distance is counted from the position recorded when the session began, not from the world origin.
Configurable options
Settings are edited through the MidnightLib settings screen, reachable from Mod Menu when that mod is present.
Gallery
Compatibility
Latest build for each game version and loader.
26.x5 of 5 versions with builds
1.21.x12 of 12 versions with builds
1.20.x6 of 6 versions with builds
Only full game releases are shown. This mod publishes no snapshot builds.
Requirements
Dependencies declared by the latest file for each loader.
Required 1
Optional 1
Use cases
Railway trips
Players on long railway networks can time a journey and see how far the line carried them.
Exploration checks
A player exploring a large area can start a session at a base and read the distance travelled later.
Who it’s for: Players who want a quick measure of how far they have gone in a single session, for railways, long walks or exploration, without leaving the game to work it out.
How it compares
View Distance Command is a Fabric client mod under All rights reserved with no open source code, published for 1.21.5 – 1.21.8. PathTracker is open source under the MIT License and covers 1.20 – 1.21.4. DeathMarker is open source under the CC0 1.0 Universal license and covers 1.20 – 1.21.11. Distance Travel is open source and covers 1.20.1 – 26.3.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| Distance Travel | Fabric | 1.20.1 – 26.3 | Client-side only | 2026-09-15 |
| View Distance Command | Fabric | 1.21.5 – 1.21.8 | Client-side only | 2025-06-27 |
| PathTracker | Fabric | 1.20 – 1.21.4 | Client-side only | 2025-02-10 |
| DeathMarker | Fabric | 1.20 – 1.21.11 | Client-side only | 2026-01-30 |
Questions
Does Distance Travel need Fabric API?
Does the server need Distance Travel installed?
How are settings changed?
In the catalog
Distance Travel is one of 36,990 Utility mods on ModsFinder, and one of 25,772 Utility mods for Fabric. 8,071 mods support Minecraft 26.3.
More from ThePhaseCat
Similar mods
What the author says
Simple commands to calculate distance traveled over a period of time! I made this mod because I have a giant railway network and would love to figure out how long it actually is without having to do complicated math. Thankfully, this mod does exactly that, and in a very simple way!
Official listing
- Modrinth page
- modrinth.com/mod/distance-travel
- Owner
- ThePhaseCat
- Published
- 2024-09-05
- Updated on Modrinth
- 2026-09-15
- Facts verified
- 2026-10-15
