How to make entity protect another

Started by Dande1231 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Mar 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to make entity protect another

I need to make an entity that attacks anyone who attacks a different entity (Like iron golems act towards villagers)

Joined Jan 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You can use the Tamed…
Sat, 10/23/2021 - 23:44

You can use the Tamed procedure. like making a mob tame the mob it wants to be protected by and make that protector mob Fight off any entitys that attacks its owner.