Is this possible to make mobs ignoring player?

Started by ShAdOw112 on Fri, 06/12/2020 - 14:34

Topic category: Help with MCreator software

Last seen on 16:51, 17. Jan 2021
Joined Mar 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Is this possible to make mobs ignoring player?
Fri, 06/12/2020 - 14:34

I want to make new mod, where player will become invisible, but I also want make mobs ignoring player so they won't notice player. Is this possible, and if yes how?
P.S. how can I change screen's colour?

Last seen on 04:35, 17. Jan 2021
Joined Sep 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
((MobEntity) entity)…
Sun, 06/14/2020 - 18:15
                ((MobEntity) entity).setAttackTarget(null);
                ((MobEntity) entity).setAggroed(false);

I leave you with that in case you know how to use it.