mobs killing other mobs

Started by Isaac Souza on Fri, 07/15/2022 - 18:52

Topic category: Help with modding (Java Edition)

Last seen on 18:45, 4. Sep 2022
Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
mobs killing other mobs
Fri, 07/15/2022 - 18:52

I'm creating a mod, which has 2 entities in it, but they keep killing each other when they are close to each other, and I wanted to make them only eliminate the player and not the mobs, is there a way for this to happen?

Last seen on 15:10, 30. Sep 2022
Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
In ai and goals you need to…
Sat, 07/16/2022 - 10:53

In ai and goals you need to select the attack entities type ( the player and then also another one for server player) then remove the other attacking commands