how to make a ranged mob not attack mobs of the same type and some other ranged mobs

Started by P-Ton102 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Aug 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
how to make a ranged mob not attack mobs of the same type and some other ranged mobs

i have a simple request: how can i make a ranged mob unable to target or attack ranged mobs of the same type and other ranged mobs? note that i dont want a ranged mob to not attack any ranged mob, just several others

although it doesnt matter, im asking this because im currently working on a plants vs zombies mod.