turn a hostile mob into a passive or neutral one

Started by Purple19842 on

Topic category: Advanced modding

Joined Feb 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
turn a hostile mob into a passive or neutral one

I am making a mask that makes illagers not attack you, right now i have:

 

When entity sets attack target,( if source entity is Illager,( if player has item in slot()))

 

I need a way to change the illager into either a neutral of passive mob.

There may be a way by setting nbt tags, but I am not sure.

 

Any help would be greatly appreciated 

Joined Feb 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
It's possible with a new…
Sat, 03/25/2023 - 21:13

It's possible with a new Event.

Sadly this Event is only available to a newer Version of Forge.

I'm planning to add this Event for 1.19.2 instead.

Check this Post what I'm currently developing.