mojira.dev
MC-268688

execute on attacker track the owner of projectiles rather themselves

The Bug

While players were hurt by projectiles, the command

execute on attacker

select the owner rather themselves

How to Reproduce

  1. Load the datapack from attachment

  2. Shoot upward using a bow (and switch to survival \:)

Expected Behaviour:

The arrow says hi

Observed Behaviour:

The owner of arrow says hi

Attachments

Comments 2

What is the expected result here vs the observed result?

Thank you for your report!
After consideration, the issue is being closed as Working as Intended.

Please note, that mechanics of the game may change between updates.
Things such as graphics, sounds, world creation, biomes, redstone, villagers, and animals may not work the same in current versions.

Full Version HistorySnapshot Version HistoryThe official Minecraft feedback site

Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki

ccJerrycc

(Unassigned)

Confirmed

Commands

execute

1.20.4

Retrieved