Generic variable: yawPrecision #264
Replies: 1 comment 4 replies
-
This is quite likely going to become possible once the info lines get their planned rewrite. For now, if you want you can just edit the code and build a separate mod version for yourself with the precision changed. You would just need to edit this line: For building the mod for MC 1.18+ you need a Java 17 JDK installed, and then running the command And as for your tunnel use case, unless you have deemed Tweakeroo in its entirety too cheaty to use, the Snap Aim tweak would allow you to snap the player to the exact cardinal facing very easily. |
Beta Was this translation helpful? Give feedback.
-
I've got a tunnel that's give or take 10,000 blocks long (I play a normal amount of minecraft), and at that scale, the yaw truncated or rounded from 0.0XXX down to 0.0 still mulitplies out and cause the player to drift. Drifting less than a block over 10,000 blocks travelled requires a yaw within 0.005 of the cardinal direction. Most people don't need this level of precision for anything so it doesn't make sense to show it to them even if they have yaw turned on, but for me this precision's important (cause I ain't got the resources to build a 10Km minecart track, and I want to be able to sprint down this hallway the entire length by just holding [W].
To this dichotomy of needs I propose a yawPrecision variable: An int which tells minihud how many decimal places to calculate and render yaw to. Default value for current behavior would be 1 (producing 0.0) wit 2 (0.00), 3 (0.000) and so on as options.
Beta Was this translation helpful? Give feedback.
All reactions