How to make mobs target every mob except for mobs under a tag?

Started by BryAstro on

Topic category: Help with Minecraft modding (Java Edition)

Active 19 hours ago
Joined Mar 2022
Points:
693

User statistics:

  • Modifications: 1
  • Forum topics: 40
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 61
How to make mobs target every mob except for mobs under a tag?
Sun, 12/17/2023 - 04:49 (edited)

Version 2023.3 (1.20.1 Forge)

I would like to know how to make it so a mob targets every single mob except for the ones under a specific tag.

https://imgur.com/4tOudcq I tried doing this but when I placed down a monster with that procedure in the conditions of attack entity, the game crashes. And even if I put all of the mobs individually onto the procedure, the mob would still attack the mob that is listed.

I don't want to have to write in code to do this, I just want to manage to make the mob ai in a procedure.

If you could help, it would be awesome. Thanks in advance.

Edited by BryAstro on Sun, 12/17/2023 - 04:49