Expand description
Shared vanilla movement-validation helpers for client-authored movement.
Structs§
- Client
Authored 🔒Movement State - State shared by vanilla client-authored movement validation.
- Movement
Collision Validation - Collision state used to decide whether a client-authored movement is accepted.
Constants§
- MOVEMENT_
ERROR_ THRESHOLD - Movement error threshold for anti-cheat validation (squared distance). Vanilla uses 0.0625 (1/16 block squared).
- Y_
TOLERANCE - Y-axis tolerance value used by vanilla’s movement-error branch.
Functions§
- movement_
error_ delta - Returns the residual between a client target and the server-simulated position.