How can I detect if a mob attacks a player?

Started by trashoflevillage on Sun, 07/28/2019 - 00:11

Topic category: Help with MCreator software

Last seen on 20:08, 7. Jul 2020
Joined Dec 2018
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • Comments:
How can I detect if a mob attacks a player?
Sun, 07/28/2019 - 00:11

I am trying to make is so when a specific mob attacks you, it throws items out of you're inventory. I cannot figure out how to detect when it attacks the player, anybody know how to do this?

Last seen on 20:08, 7. Jul 2020
Joined Dec 2018
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • Comments:
How can I detect the…
Mon, 07/29/2019 - 00:21

How can I detect the attacking mob, not the attacked?