Mob attacking itself

Started by Youtuber87 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Dec 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Mob attacking itself

I'm trying to make a mob that when collided with/stepped on deals damage towards the player, but when I try colliding with the mob it attacks itself. How do I fix this? Is there any procedure that I could place down that specifically targets the player that touched it or do I have to do a bunch of other stuff too.