运动公式

From Minecraft Parkour Wiki
Revision as of 04:34, 22 August 2021 by Pjx1314 (talk | contribs) (Created page with "以下公式来自于对游戏源代码的分析。")
Other languages:
Movement formulas applied to a 3b jump.

玩家的移动可以通过序列精确计算。

以下公式来自于对游戏源代码的分析。



Note that these formulas are not exact, due to how floats are computed.
When used for calculations, only the first 4-6 decimals should be considered accurate.
For a completely accurate simulation, you would need to replicate the source code.



Note:
Minecraft's coordinate system is oriented differently: 0° points towards "positive Z", and 90° points towards "negative X".
We choose to work in the standard coordinate system to make calculations more intuitive.