How to make entity temporarily ignore you?

Started by ibabinski96 on

Topic category: Help with modding (Java Edition)

Last seen on 14:17, 5. Jun 2024
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?

Last seen on 13:27, 18. Jul 2024
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.