Make mobs ONLY attack adult mobs

Started by ItzBlueJacob on

Topic category: Help with modding (Java Edition)

Last seen on 09:54, 20. Apr 2024
Joined Jan 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Make mobs ONLY attack adult mobs

Hello! I'd like to know is it even possible for mobs to not attack baby mobs? I'm working on a mod that adds illagers and since in 1.18+ the vanilla ones do not attack baby villagers

And I plan to make my illagers do the same, is it possible for me to make a procedure/trigger to prevent them from attacking baby villagers?