How to discover an arrow's owner

Started by yui on Thu, 07/29/2021 - 15:20

Topic category: Help with modding (Java Edition)

Last seen on 17:02, 1. Aug 2021
Joined Jul 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
How to discover an arrow's owner
Thu, 07/29/2021 - 15:20

I can't seem to find a way to find out what entity/player spawned an arrow or other projectile entity.

My goal is to de-spawn arrows close to the player, but not de-spawn arrows the player shoots.