Making a mob that attacks only other mobs

Started by Olaizjul on Sun, 12/06/2020 - 16:01

Topic category: Help with modding (Java Edition)

Last seen on 13:33, 21. Jul 2021
Joined Dec 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Making a mob that attacks only other mobs
Sun, 12/06/2020 - 16:01

Basically, i want to make this mob that attacks only other mobs, not the player or any other living entities. So it would attack zombies, creepers, and skeletons but not players, pigs cows, etc.

Last seen on 04:48, 2. Jun 2021
Joined May 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Use the attack enities type…
Wed, 06/02/2021 - 03:27

Use the attack enities type block I think this should help you

Last seen on 04:48, 2. Jun 2021
Joined May 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
In the AI and goals section
Wed, 06/02/2021 - 03:28

In the AI and goals section