In single player you can run a command that teleports a mob that is being ridden (In this case lets say a cow riding a pig) but on a server the command does not execute properly.
Commands
1) /summon armor_stand ~ ~1 ~ {Tags:["UA_Pack"],Small:1,Marker:1b,Invisible:1,DisabledSlots:2039583,Passengers:[{id:"chest_minecart",CustomName:"UserAnimated's Backpack",Tags:["UA_Pack2"]}]}
2) /summon armor_stand ~-2 ~1 ~ {CustomName:"UA_Teleport",CustomNameVisible:1,Tags:["UA_TP"]}
3) /testfor @p {Inventory:[{Slot:-106b,tag:{display:{Name:"UserAnimated's Backpack"}}}]}
4) /tp @e[tag=UA_Pack] @p
5) /tp @e[tag=UA_Pack] @e[tag=UA_TP]
Attachments
Comments 8
Do you use a repeating command block to teleport the entity? (MC-67695)
Is this still an issue in the most recent versions (currently that is 1.12.2, or the latest 1.13 development snapshot 18w07c) of Minecraft?
Please provide the command.
Also, what do you mean by "does not execute properly"?