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!
Minecraft >=1.21.0
Fabric Loader >=0.16.2
Fabric API >=0.102.0
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!
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!
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!
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!