Arqade Asked by user195647 on August 23, 2020
The current commands I have are:
/summon wolf ~ ~1 ~ {CustomName:"test",CustomNameVisible:1,Tags:["test"],CollarColor:0,Sitting:0,Passengers:[{id:"wolf",CollarColor:0,Sitting:0}]}
and
/tp @e[tag=test,c=1] @e[type=player]
I’m on multiplayer for Minecraft, but I can’t use these commands combined to teleport a mounted mob with the mob it’s mounted on.
I removed the tag from the first command as it is not formatted correctly and is not needed. Here is the command I used:
/summon wolf ~ ~1 ~ {CustomName:"test",CustomNameVisible:1,CollarColor:0,Sitting:0,Passengers:[{id:"wolf",CollarColor:0,Sitting:0}]}
Your command to teleport uses the tag target selector argument(tag=test
), which is used with scoreboard tags. It is easier to use the name argument(name=test
).
This would give you: /tp @e[name=test,c=1] @p
I ran this command and it does run properly. If you wanted to be more specific in selecting you could add type=wolf
to the target selector.
This would give you: /tp @e[name=test,c=1,type=wolf] @p
This teleports them to the nearest player(@p
). You can then be more specific with the target selector for the player to teleport them to.
Also, to note, if you were to name the passenger and teleport the passenger, it would split them up and only teleport the passenger.
Answered by IronAnvil on August 23, 2020
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP