How can I detect if a mob attacks a player?

Started by trashoflevillage on

Topic category: Help with MCreator software

Joined Dec 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How can I detect if a mob attacks a player?

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?

Joined Dec 2018
Points:

User statistics:

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

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

Joined Jan 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Klemen, where can i find the…
Sat, 05/14/2022 - 05:13

Klemen, where can i find the "when entity attacked" trigger