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

Started by Rareshero_ on

Topic category: Help with Minecraft modding (Java Edition)

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
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.

 

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

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.