mojira.dev
MC-14861

teleporting using commands resets the velocity

Sorry if this is a duplicate, I honestly searched everywhere but didn't find this issue.
edit: this might be a duplicate of [MC-4686]

How to reproduce:

Fly very high up, let yourself fall then type:
/tp @p ~0 ~100 ~0
You'll see you start without any movement upon teleport.

I'm trying to teleport players to a same looking location, but you can still see when you are teleported because of the velocity being reset. Also your hand moves when you teleport, but that's intended (I think)

Linked issues

Comments 17

Jesper the End

confirmed for 13w19a

Confirmed.

Is this still a concern in the current Minecraft version? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases.

Jesper the End

confirmed for 1.6.1
I don't see why this takes so long to fix. I don't know much about programming in java but can't you just add 3 temporary variables to store the velocity before someone gets teleported and then apply that to the velocity after teleportation?

Abandoned account

Fixed in 14w02b.

7 more comments

Confirmed for

  • 15w51b

This is however not consistent for velocity caused by gravity. When you have for example a clock running /tp @p ~ ~1 ~, the player "bounces" instead of being teleported upwards constantly (see MC-79938)

That would be MC-76463.

This is fixed in the current versions, correct?

Yes, certainly seems fixed in 16w41a.

Jesper the End

Yes this is fixed, [MC-4686] isn't though. Not the same issue but it's related.

Jesper the End

(Unassigned)

Confirmed

/tp, command, movement, relative, teleport, velocity

Minecraft 1.5.1, Minecraft 1.5.2, Snapshot 13w17a, Snapshot 13w18c, Snapshot 13w19a, ..., Minecraft 1.7.4, Minecraft 1.8, Minecraft 1.8.1, Minecraft 1.8.2-pre4, Minecraft 15w51b

Minecraft 14w02c, Minecraft 16w41a

Retrieved