[Improvment] The ability to change the units #4
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
.Title
Suggested Units:
km/h
miles/h
Hi, This is already implumented, but requires you to ether open the config file or use Cloth Config mod to have access to it in game.
For Fabric the config file location is
<minecraft directory>/config/speedometer/config.jsonand for NeoForged<minecraft directory>/config/speedometer/config.json, the minecraft directory chages depending on the luancer you use but typicaly you shuld be able to find the runtime directory for your profile, standerd in the vanilla Minecraft Launcher on windows is%appdata%\.minecraft.To open the config menue you cal ether navigate to the mod's config ingame(again this requires cloth config) or you can press
O(default key) to open the config menue when in game, this feature is mostly intended for Fabric if you dont have the Mod Menue mod.If you dont whant to have cloth config installed you have to open the config file in a text editor like Notepad(Windows), Nano(CLI for Linux and Mac OS), or another text editor.
The file shuld look like this
the part your intrested in chaging whuld be the last one with the key
speedand chage it to one of these enum values defined in SpeedTypes.javaSo for exampel you whant to chage to Miles per hour, chage the
speedfromBlockPStoMPH.Hope this helps!
OK Great Thanks for the detailed answer i appreciate it :)
You're welcome, if more issues arises about this feal free to reopen this.
Best regards