Ticks/zh

From Minecraft Parkour Wiki
Revision as of 14:14, 23 August 2021 by Pjx1314 (talk | contribs) (Created page with "游戏中的动作都是在每次Tick结束时执行的,无论它们被按下的时间或顺序如何。")
Other languages:

Ticks是 Minecraft 中的标准时间单位,1 Tick等于 50 毫秒

wiki上关于Tick的文章



Tick速度

物理引擎以每秒20 Ticks的速度运行,这意味着游戏的物理引擎每50毫秒更新一次。

这包括玩家的位置和速度、环境和实体。


游戏中的动作都是在每次Tick结束时执行的,无论它们被按下的时间或顺序如何。

Due to the game working this way, inputs may take up to 50ms of delay between the button press and their activation.


Turn Tick

Mouse Movement is not inherently tied to tickrate, but rather the framerate.

However, the game has to keep a copy of the player's rotation for movement calculations, which it updates once every tick. The moment the player's rotation is copied is called the turn tick.


From the player's perspective, there is no way to control when the turn tick happens. This has a severe impact on turn-based jumps, which become partially luck-based as a result: given the same (smooth) turning sequence, the player's resulting movement could be quite different.


One solution is to turn instantly every 50ms to land precisely on the wanted angle. This is feasible for simple turn strats such as 45° Strafes, but not for more complex strats that would require smooth turning.