How to make entity temporarily ignore you?

Started by ibabinski96 on

Topic category: Help with Minecraft modding (Java Edition)

Active 1 year ago
Joined Feb 2023
Points:
282

User statistics:

  • Modifications: 0
  • Forum topics: 2
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 0
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?

Active 2 days ago
Joined Oct 2021
Points:
636

User statistics:

  • Modifications: 3
  • Forum topics: 13
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 53
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.