How to make mobs not attack player when has an certain effect

Started by Rareshero_ on

Topic category: Help with modding (Java Edition)

Last seen on 17:56, 14. Nov 2021
Joined Nov 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to make mobs not attack player when has an certain effect
Fri, 11/05/2021 - 20:02 (edited)

I made a custom zombie, and if he hits you, you will get an Infected effect. And if you have the Infected effect the custom mob will not attack you, unlike when you did not have the effect. Is there an way to do this ?

Edited by Rareshero_ on Fri, 11/05/2021 - 20:02
Last seen on 17:56, 14. Nov 2021
Joined Nov 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I shoud go and watch some…
Thu, 11/11/2021 - 06:37

I shoud go and watch some tutorials.

 

Last seen on 03:32, 22. Jul 2024
Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
and what does that have to…
Thu, 11/11/2021 - 16:38

and what does that have to do with reading then

Last seen on 17:56, 14. Nov 2021
Joined Nov 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Oh wow your're an moderator…
Sat, 11/13/2021 - 21:44

Oh wow your're an moderator now, nice :). I don't find the things. And search dosen't work. I don't know why.