mojira.dev
MCPE-182425

Teleporting a player removes their momentum

Teleporting a player to an coordinates while they're moving remove their momentum.

This wouldn't make any sense because their momentum should be conserved through teleportation.

To reproduce:

Simply teleport any player while they are moving to any coordinate. Once they are teleported they will lose all of their momentum and will have to accelerate once again.

Linked issues

Comments 2

Can confirm.

Steps to reproduce:

  1. Place an unconditional repeating command block that’s “always active” and doesn’t require redstone.

  2. Set a delay of around 100 ticks.

  3. Set the command to any coordinates that are within the simulated area.

  4. Run the command block while flying and sprinting.

Observed results:

Whenever you get teleported, all speed and momentum are lost, requiring you to accelerate again.

Expected results:

Like on Java, you should be able to maintain your speed and momentum even if you get teleported.

Easy way to reproduce. Create and activate a repeating command block with this command:

execute as @a at @s run tp @s ~0.05 ~ ~

Expected behavior: Player can move and jump normally but is constantly pushed as though wind were blowing (try in Java Edition to see this correct behavior)

Observed behavior: Player is completely stuck, moving in a straight line, can’t even move the camera without it snapping back

hypnosisfailure+

(Unassigned)

1421628

Community Consensus

Multiple

1.20.81 Hotfix, 1.21.80

Retrieved