Movement Formulas

The Player's movement can be precisely calculated with sequences.

The following formulas come from analyzing the game's source code.

Because this field is so extensive, we're only considering vanilla movement and ignoring everything else.

For further documentation of movement physics for specific aspects:


 * Status Effects
 * Soulsand
 * Ladders or Vines
 * Slime Blocks
 * Cobwebs

Formula:
$$V\displaystyle _{0} = 0.42$$

$$V\displaystyle _{n+1} = \left (V_{n} - \underset{gravity}{0.08} \right ) \times \underset{drag}{0.98}$$

If $ \left | V\displaystyle _{n+1} \right | < 0.005$, $V\displaystyle _{n+1}$ is set to 0 instead. This is no longer the case in 1.9+.