I”ve created a big circuit in my vanilla server to teleport all players to an arena each 3 days.
Đang xem: How to teleport a horse in minecraft
It”s all working like a charm, but a few days ago a player wasn”t teleported. Chatting with him, he told me that he was on a horse.
Players on horses are not teleported?
Doing some quick testing, I”ve found that you can teleport players that are riding something (horse, minecart, boat, or pig), although that may be due to the fact I”m using the latest snapshot. However, whatever those players are riding will not be teleported. That means that the poor owner of the horse will be back in town while his horse is left to wander the wilderness alone. A horse owner might not be too pleased at that. The solution is to first teleport players riding horses into a secure corral in town with the following command:
For some clarification, this is what the above command does: at the location of every player, execute a teleport, filtering on horses that are within 1 block of a player, to the coordinates .
As I said, this is tested on the latest snapshot (14w20b), and so may not work as expected with earlier versions.
Thanks for contributing an answer to Arqade!
Please be sure to answer the question. Provide details and share your research!
But avoid …
Asking for help, clarification, or responding to other answers.Making statements based on opinion; back them up with references or personal experience.
Read more: where to find clay in minecraft
To learn more, see our tips on writing great answers.
Post Your Answer Discard
Not the answer you're looking for? Browse other questions tagged minecraft-java-edition or ask your own question.
site design / logo © 2021 Stack Exchange Inc; user contributions licensed under cc by-sa. rev2021.4.1.38970