mojira.dev
MC-259247

The execute on owner sub-command does not select the owner of a horse, donkey, llama, or mule

What Should Happen

The /execute on owner subcommand should select the owner of a horse, donkey, llama, or mule.

Steps to Reproduce

  1. Spawn in and tame a horse

  2. Keep riding the horse

  3. Run the command /execute on vehicle on owner run say I own this horse

  4. The chat will not display anything

Note that this behaviour shouldn't be expected from camels, skeleton horses, nor zombie horses. Those don't have the owner tag that the others do

Linked issues

Comments 3

Horses don't have owners, that is for pet mobs. To select the player that is riding it, you'd want to use /execute on vehicle on passengers run say I own this horse

Except that they absolutely do store the owner UUID (the player that tamed it)...

This issue also affects llamas

tholleman

slicedlime

Community Consensus

Platform

Normal

Commands

23w03a, 23w05a

23w06a

Retrieved