How to make entity temporarily ignore you?

Started by ibabinski96 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Feb 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to make entity temporarily ignore you?

I'm working on the mod that adds more weapons to the game. I want to add the pepper spray. Because blindness effect doesn't affect entities, is there any other way to make entity temporarily ignore you?

Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You can give them a high…
Thu, 11/02/2023 - 00:27

You can give them a high level of slowing, but that won't stop them from attacking near or from a distance.