Is this possible to make mobs ignoring player?

Started by ShAdOw112 on

Topic category: Help with MCreator software

Last seen on 12:01, 16. Feb 2023
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?

Last seen on 04:35, 17. Jan 2021
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.