How to make entity temporarily ignore you?

Started by ibabinski96 on

Topic category: Help with Minecraft modding (Java Edition)

Active 11 months ago
Joined Feb 2023
Points:
227

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 1 day ago
Joined Oct 2021
Points:
597

User statistics:

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