The horse can be anywhere, it always works to teleport it to you, even in unloaded chunks
1. Tame a horse
2. Give the horse any name (it can not include special characters like # ' \_ or spaces)
3. Hold any goat horn you want in your hand
4. Sneak and look at the horse for 4 seconds
5. You will then get a horn that looks enchanted and has the name of the horse
6. Whenever you use the horn, it will teleport to you
--> Only the owner of the horse can get the goat horn + use the goat horn to call the horse (you can change that with the config)
--> To unbind/reset the horn, sneak + look directly up
Works for horses, donkeys, llamas, mules, skeleton horses, zombie horses, trader llamas and camels by default
/trigger callyourhorse.config
After you've changed anything, you have to run /reload in the game for it to work
go to
root/data/callyourhorse/tags/entity_type/callable.json
and add or remove the entities you want to be callable
go to
root/data/callyourhorse/tags/entity_type/callable_without_owner.json
and add or remove the entities you want to be callable without an owner