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

Started by EidolonExperience on

Topic category: Help with MCreator software

Last seen on 20:49, 19. Nov 2020
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.

Last seen on 17:02, 24. Jan 2021
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?