In previous versions, relative teleportation (Example: /tp @s ~ ~ ~)
would not reset the player's velocity when run. Now it does on 24w33a.
Steps to reproduce (both versions):
Run
/tp @s ~ ~ ~
while in motion (i.e. falling)
Observed result:
In 1.21.1, player motion is only reset when teleporting to specific coordinates (/tp @s 0 0 0
) or teleporting to an entity (/tp @s @s
). Motion was not affected when teleporting relatively (/tp @s ~ ~ ~
or /tp @s ^ ^ ^
)
In 24w33a, player motion is reset in all cases.
Expected result:
Player motion is not affected.
Linked issues
relates to
Comments


tp command does not seem to update nbt information.
This means that when you run data modify entity @s Rotation[0] set value 30f, the mob actually looks at the same place
But when you run tp @s ~ ~ ~ ~30 ~ it does not match.
Of course, it is possible to use these features to implement a mob that moves while looking at one side, but it seems like a bug.
Can confirm.