How would I go about making an entity passive to a player if they have a certain potion effect?

Started by APersondotexe on

Topic category: Help with Minecraft modding (Java Edition)

Active 4 years ago
Joined Jul 2021
Points:
547

User statistics:

  • Modifications: 0
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 0
How would I go about making an entity passive to a player if they have a certain potion effect?

I'm trying to make a potion where it'll make Bees passive towards the player if they have it active and I'm not sure how to do it.

You can't override the…
Sat, 07/10/2021 - 09:26

You can't override the vanilla behaviour at the moment, but you could do that in the AI editor of a custom mob if those bees are custom.