How to make a Mob that attacks someone when they attack a different Mob

Started by martinrocca on

Topic category: Help with Minecraft modding (Java Edition)

Joined Feb 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to make a Mob that attacks someone when they attack a different Mob

I trying to make a Mob will Attack someone when they attack a Villager but I can't figure out how to do it. Can someone help me?

Joined Jan 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
So I don't know if this is…
Thu, 02/20/2025 - 00:51

So I don't know if this is what you would want. But you would do something using the when entity attacks (or kills, I don't remember) the other entity. set entity attack target player (or server player)