mojira.dev
MC-64265

Teleporting passengers does not dismount them

This is probably with all mobs (maybe even with players), but you can see it best with entities you can ride:

  1. Summon a rideable entity (but not a horse)

    /summon pig ~ ~ ~ {Passengers:[{id:"cow"}]}
  2. Teleport rider (here Cow away)

    /tp @e[type=cow,distance=..4] ~ ~-1000 ~1000

    The cow is still somehow riding the pig even though it is in the void:

    Pos:[0:-863.029259801175d,1:-943.3250000178814d,2:1488.0782719644458d]}

    You can still give the pig a saddle (rightclick) but when you then try to ride on it, it doesn't work

Linked issues

Attachments

Comments 19

Is this still an issue in the current Minecraft Snapshot 15w45b or later? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases.

Confirmed for 1.13.1.

Confirmed for 1.15.1.

After teleporting the cow to the void, it dies and no longer exists. But the entity does still exist inside the Passengers array of the pig. If you then kill the pig, the cow will suddenly come back in the position where the pig died.

Confirmed in 1.16.1 and 20w27a.

9 more comments

Can confirm in 1.17.1.

By the way, teleporting an entity within a close proximity of the mounted object will dismount the entity

Can confirm in 1.19.2.

Based on the resolution of MC-275505 this seems to have been fixed

MC-275505 was changed to Fixed, does that mean this is Working as Intended?

Edit: Nevermind, the /rotate command changes that issue.

marcono1234

(Unassigned)

Confirmed

Commands, Entities

NBT, rider, riding, teleport, void

Minecraft 14w30c, Minecraft 14w31a, Minecraft 1.8-pre2, Minecraft 1.8.2-pre4, Minecraft 15w37a, ..., 1.17.1, 1.19, 1.19.2, 1.20.2, 1.21

24w40a

Retrieved