Movement Formulas/zh: Difference between revisions
Content added Content deleted
(Created page with "运动公式") |
(Created page with "thumb|500x500px|Movement formulas applied to a 3b jump. 玩家的移动可以通过 [https://wanweibaike.net/wiki-%E5%BA%8F%E5%88%97 序列]...") |
||
Line 1: | Line 1: | ||
<languages/> |
<languages/> |
||
<div lang="en" dir="ltr" class="mw-content-ltr"> |
|||
[[File:0t sprintjump graph.png|thumb|500x500px|Movement formulas applied to a 3b jump.]] |
[[File:0t sprintjump graph.png|thumb|500x500px|Movement formulas applied to a 3b jump.]] |
||
玩家的移动可以通过[https://wanweibaike.net/wiki-%E5%BA%8F%E5%88%97 序列]精确计算。 |
|||
The player's movement can be accurately calculated with [https://en.wikipedia.org/wiki/Sequence sequences]. |
|||
</div> |
|||
<div lang="en" dir="ltr" class="mw-content-ltr"> |
<div lang="en" dir="ltr" class="mw-content-ltr"> |
Revision as of 04:33, 22 August 2021
玩家的移动可以通过序列精确计算。
The following formulas come from analyzing the game's source code.
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.