Mojira Archive
MC-259203

The execute on owner sub-command does not select the owner of projectiles

What's Happening

The new `execute on owner` subcommand allows selection of the owner for some entities that have an `Owner` tag (i.e. tamable animals), but not for others (i.e. projectiles).

What Should Happen

The `execute on owner` subcommand should select the owner of any entity that has an `Owner` tag.

Steps to Reproduce

  1. Spawn in and tame a wolf.
  2. Run the command execute as @e[type=wolf,sort=nearest,limit=1] on owner run me is the owner
  3. The chat will display "[Playername] is the owner"
  4. Fire an arrow.
  5. Run the command execute as @e[type=arrow,sort=nearest,limit=1] on owner run me is the owner
  6. The chat will not display anything.

Invalid

DqwertyC

2023-01-18, 06:12 PM

2024-03-09, 03:01 PM

2023-01-20, 08:16 AM

4

6

Community Consensus

Commands

23w03a

-