Detecting which player killed which mob

Started by nickbug on Sun, 07/14/2019 - 03:39

Topic category: Help with modding (Java Edition)

Last seen on 16:13, 14. Jul 2019
Joined May 2019
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Detecting which player killed which mob
Sun, 07/14/2019 - 03:39

I saw that you can detect if a player kills an entity. How would you be able to find out which entity and which player?