How to discover an arrow's owner

Started by yui on

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:
  • MCreator plugins:
  • Comments:
How to discover an arrow's owner

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.