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)

Joined Jul 2021
Points:

User statistics:

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