#detect when an entity is hit by a tagged arrow
1 messages · Page 1 of 1 (latest)
<@&1201956957406109788>
💬 While you wait, take this time to provide more context and details.
🙇 If nobody has answered you by <t:1730499687:t>, feel free to use the Summon Helpers button to ping our helper team.
✅ Once your question has been resolved (or you no longer need it), please click Resolve Question or run /resolve
It's hard to detect when an entity is hit by something, but you can detect when the player's projectile hits an entity.
You could either use an advancement, which would require running a reward function to then find that damaged entity, or give the bow that shoots the arrows (or possibly even the arrow entities themselves) a custom enchantment that can then run the function as the victim
alright, I'll look into it; thanks