Mojira Archive
MC-267015

Flight speed is miscalculated at high tick rates when using Elytra

If the game is running at a high enough tick rate, the player's speed while flying will be miscalculated causing kinetic energy damage to be applied in incorrect situations.

Steps to Reproduce:

  1. Tick sprint the game
    /tick sprint 3d
    
  2. Stand on a 3-block pillar, equip Elytra, and switch to Survival Mode if not already in Survival Mode
  3. Fly into a wall which is close enough to not cause damage normally

Observed Results:

Despite not traveling far or fast enough to cause kinetic energy damage normally, the player will take lots of damage in quick succession, and often times die.

Expected Results:

The player would not take any damage since they are not traveling fast enough to cause kinetic energy damage like in a normal tick rate of 20.

Screenshots/Videos:

2023-11-25_12-03-45.mp4

Notes:

The expected results can be backed up by the changelog for the /tick rate command, which states that a higher tick rate preserves normal player movement:

. . . whilesetting a higher tick rate will cause the players to be simulated at the default rate of 20 ticks per second to maintainthe expected responsiveness of the game . . .

Considering the game is handling the player's movement/speed differently compared to a normal tick rate of 20, this is unusual behavior.

Won't Fix

[Mod] Jiingy

2023-11-25, 06:07 PM

2023-11-28, 08:07 AM

2023-11-28, 08:07 AM

3

2

Confirmed

Collision, Networking

elytra, flight, flying, movement

1.20.3 Pre-Release 2, 1.20.3 Pre-Release 3

-