How to make hostile mobs (like zombies, creepers, skeletons) not attack you if you have a custom effect

Started by ELMEJORMIKO_YT on

Topic category: Help with Minecraft modding (Java Edition)

Joined Mar 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to make hostile mobs (like zombies, creepers, skeletons) not attack you if you have a custom effect

What the title says is my problem, if someone knows how to do it with procedures it would help me, if it is possible to do it through code I would like to know.