Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-259203

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • None
    • 23w03a
    • None
    • Community Consensus
    • Commands

      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.

            Unassigned Unassigned
            dqwertyc DqwertyC
            Votes:
            4 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: