How can I detect if a mob attacks a player?

Started by trashoflevillage on

Topic category: Help with MCreator software

Active 4 years ago
Joined Dec 2018
Points:
719

User statistics:

  • Modifications: 0
  • Forum topics: 10
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 11
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?

Active 4 years ago
Joined Dec 2018
Points:
719

User statistics:

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

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

Active 3 months ago
Joined Jan 2022
Points:
589

User statistics:

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

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

Active 2 days ago
Joined May 2021
Points:
795

User statistics:

  • Modifications: 4
  • Forum topics: 11
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 353
 
Sat, 05/14/2022 - 06:13