The bug
Entities build up fall damage while being teleported. I have tested this with cows and with the player.
Steps to reproduce
1. Create a new survival peaceful superflat world. You should be in y = 4
.
2. Execute the command /tp ~ 7 ~
.
3. Notice how you do not take fall damage.
4. Execute /tp ~ 100 ~
, and before hitting the ground, execute /tp ~ 7 ~
.
5. ❌ You take fall damage.
The expected behavior is that the momentum should be reset every time the entity is teleported.
Related issues
Attachments
Comments


Relates to MC-14167.

I would say this works as intended. You're constantly building up your kinetic energy for the whole time (you don't bounce off anything).

That would be inconsistent with the behavior described in MC-14167, which is considered a bug.

But the entity is oscillating on the lead (the energy is constantly transforming between the potential and kinetic one). See https://en.wikipedia.org/wiki/Harmonic_oscillator

You have a point, but let's not discuss this any further here to not clog up the issue.

I do not use command blocks so I can't help

You don't need command blocks to reproduce this issue.
Does MC-79938 describe your issue?

I suppose so.