How to make entity protect another

Started by Dande1231 on

Topic category: Help with modding (Java Edition)

Last seen on 20:50, 2. Nov 2021
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)

Last seen on 00:03, 14. Apr 2024
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.