- Joined
- Jul 11, 2020
- Messages
- 316
- Reaction score
- 121
- Points
- 43
"I think your old movement utils are skidded from FDP Client""public static double getSpeed() { return Math.sqrt(mc.thePlayer.motionX * mc.thePlayer.motionX + mc.thePlayer.motionZ * mc.thePlayer.motionZ); }
"
Stop using Math.sqrt, use Math.hypot (if not in your new movement utils)
It is something like this:
Math.hypot(mc.thePlayer.motionX, mc.thePlayer.motionZ);
which is way better and optimized.
I think your old movement utils are skidded from FDP Client
yeah totally, fdp existed back in early 2020 i see