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)

Joined Mar 2022
Points:

User statistics:

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