turn a hostile mob into a passive or neutral one

Started by Purple19842 on

Topic category: Advanced modding

Active 1 year ago
Joined Feb 2022
Points:
548

User statistics:

  • Modifications: 0
  • Forum topics: 24
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 23
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 

Active 21 hours ago
Joined Feb 2018
Points:
1990

User statistics:

  • Modifications: 1
  • Forum topics: 163
  • Wiki pages: 0
  • MCreator plugins: 3
  • Comments: 786
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.