Iron Golem Attacking Custom Village Guards

Started by Crusader Gladiator on

Topic category: Help with modding (Java Edition)

Last seen on 16:26, 13. Jan 2024
Joined Nov 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Iron Golem Attacking Custom Village Guards

I need help, Iron golems are attacking the village guards I created to defend the village, any solution to this.

Last seen on 23:34, 25. Feb 2024
Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Iron golems attack anything…
Mon, 12/11/2023 - 13:01

Iron golems attack anything that is listed as a mob. You need to make sure your village guards are classified as creatures, or it will treat them as hostile. (This may disable their attack functions, though I believe this has been fixed, I know for a fact ranged attacks still work fine with creatures. If it does disable them, you can still manually set their attack targets using procedures that run on update tick.)