Event trigger "Player hits entity"

Started by KnightKing777 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Aug 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Event trigger "Player hits entity"

Hi, how can i make event thats activate when player hits other entity?

Joined Apr 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
'Global trigger entity…
Sat, 06/14/2025 - 17:48

'Global trigger entity attacked

If source entity is sub(type) of player'

That should be all that you need to do.

Joined Apr 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
yes, that should do it
Sat, 06/14/2025 - 21:42

yes, that should do it