Open loldoob opened 11 months ago
Very likely that these values differ between versions.
How do you measure 99.9999999793 accuracy?
On Wed, Nov 29, 2023, 21:42 Frej Alexander Nielsen @.***> wrote:
Very likely that these values differ between versions.
— Reply to this email directly, view it on GitHub https://github.com/PrismarineJS/prismarine-physics/pull/112#issuecomment-1832670400, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAR437WQWLEJBVQHS3TFGOTYG6M3NAVCNFSM6AAAAAA75LW2CCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMZSGY3TANBQGA . You are receiving this because you are subscribed to this thread.Message ID: @.***>
I measured the difference in speed values across many different situations and it was off by 0.0000000207. The difference somes from 32 bit to 64 bit conversions from floats to doubles.
please fix
The values in the current version flag some anticheats. I switched them to the values from MoveEntityWithHeading in EntityLivingBase.java. These values now emulate vanilla movement with 99.9999999793% accuracy.