Making a mob that attacks only other mobs

Started by Olaizjul on

Topic category: Help with Minecraft modding (Java Edition)

Joined Dec 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Making a mob that attacks only other mobs

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.

Joined May 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • 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

Joined May 2021
Points:

User statistics:

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

In the AI and goals section