Detecting which player killed which mob

Started by nickbug on

Topic category: Help with Minecraft modding (Java Edition)

Joined May 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Detecting which player killed which mob

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?