Anyone know how to add events to when a mob hits a player?

Started by EidolonExperience on

Topic category: Help with MCreator software

Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Anyone know how to add events to when a mob hits a player?

Curious how to do this, would like to make an entity that knocks up players upon them getting hit. Similar to an iron golem.

Joined Jan 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How does this work as the…
Fri, 04/10/2020 - 14:31

How does this work as the global trigger is "if entity is attacked" so that makes the entity the player. How do you know what is doing the attacking?