All Mods Resource Packs Data Packs Shaders Modpacks Plugins
Distance Travel

Distance Travel

by ThePhaseCat • Downloads: 0 • Followers: 0
Description
Gallery
Changelog
Versions

Distance Travel

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!

Requirements

Minecraft >=1.20.1

Fabric Loader >=0.16.10

Fabric API >=0.102.0

How to use

To start, simply type /dt_start to begin your tracking session! To end your tracking session, type /dt_end! To view the stats from the last tracking session, type /dt_stats!

screenshot1

A tracking session tracks how far you're going from your start position (which is set by using the /dt_start command) and how long your session has lasted for!

screenshot2

Config

The config is short and simple, containing two options related to tracking messages and opening stats after finishing tracking without having to use an extra command. There's also an option to change tracking intervals!

The config is done using MidnightLib. If you have ModMenu, you should be able to access the config without doing anything!

Contributing

Feel free to contribute to this project as it's available under the MIT license. Find any issues or have a suggestion, report it on https://github.com/ThePhaseCat/Distance-Travel!

Thanks to MidnightLib for the GUI Library!

How to Install Distance Travel (Mod)

Distance Travel by ThePhaseCat is verified for Fabric across Minecraft versions 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1 (latest release: 1.2.0-26.3, file size: 163 KB). Follow the steps below to install it safely from ModCraft.tv:

  1. Click the Download button above and select your Minecraft version (1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1) and platform (Fabric).
  2. Make sure you have the compatible loader or environment installed for Fabric.
  3. Move the downloaded Distance Travel file into your Minecraft .minecraft/mods folder and launch the game.

All Versions

+ Add Version
Name Game version Platforms Published Downloads Actions
26.3
Fabric
2mo ago 1
26.2
Fabric
5mo ago 1
26.1.x
Fabric
8mo ago 1
1.21.11
Fabric
9mo ago 1
1.20.1
Fabric
9mo ago 1
1.21.11
Fabric
last yr. 1
1.21.x
Fabric
last yr. 1
1.21.x 1.20.x
Fabric
last yr. 1
1.21.x 1.20.x
Fabric
last yr. 1
1.21.x
Fabric
last yr. 1
1.21.x
Fabric
last yr. 1
[1.2.0-26.3] 1.2.0-26.3 by ThePhaseCat on Sep 15, 2026
Download
Port to 26.3
Port to 26.2, has some minor internal code changes but otherwise mod works exactly the same!
Simple port to 26.1 alongside mappings change (since that was needed to port to 26.1)
Some minor changes/tweaks
  • Made some changes to odometer mode. It will now print your total distance since start instead of the section distance
  • Did a lot of under the hood changes to improve distance accuracy
  • (1.21.11 only) Adjusted command output so it's slightly more performant

Some minor changes/tweaks
  • Made some changes to odometer mode. It will now print your total distance since start instead of the section distance
  • Did a lot of under the hood changes to improve distance accuracy
  • (1.21.11 only) Adjusted command output so it's slightly more performant

Just a port to 1.21.11. Please report any issues on Github if they come up!
This is simply a port to 1.21.9, since I needed to update dependencies
[1.1.0] v1.1.0 - Odometer Mode by ThePhaseCat on Mar 25, 2025
Download
  • Added Odometer Mode, prints how far you've gone since the last tracking point
  • Fixed bug related to final distance calculation (again)
  • Bumped stuff

[1.0.2] Distance Travel 1.0.2 by ThePhaseCat on Jan 16, 2025
Download
Added support for 1.20 versions
[1.0.1] Distance Travel 1.0.1 by ThePhaseCat on Oct 10, 2024
Download
  • Fixed bug related to distance not resetting after starting another tracking session. Sorry for that!
[1.0.0] Distance Travel 1.0.0 by ThePhaseCat on Sep 05, 2024
Download
yes
Distance Travel Icon
Download Distance Travel
Select game version
Select platform