How do I make my custom mob attack all hostile mobs but to not attack it's own kind?

Started by TheHappyPig on Wed, 02/03/2021 - 18:18

Topic category: Help with MCreator software

Last seen on 21:36, 22. Feb 2021
Joined Aug 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
How do I make my custom mob attack all hostile mobs but to not attack it's own kind?
Wed, 02/03/2021 - 18:18

I want to make a guard mob, that attacks hostile mobs (and retaliate if other mobs/players hit it) but to not attack it's own kind, and for it to not despawn on peaceful so how do i do it?

Last seen on 10:20, 6. Apr 2021
Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
make it NOT hostile and…
Mon, 02/08/2021 - 12:38

make it NOT hostile and attack mod in some hostile tag

Last seen on 10:20, 6. Apr 2021
Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
and attack somebody who…
Mon, 02/08/2021 - 12:38

and attack somebody who attacked it

Last seen on 10:20, 6. Apr 2021
Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
these are in the AI
Mon, 02/08/2021 - 12:38

these are in the AI