Is this possible to make mobs ignoring player?

Started by ShAdOw112 on

Topic category: Help with MCreator software

Joined Mar 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Is this possible to make mobs ignoring player?

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?

Joined Sep 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • 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.