Potion Altering Entity AI

Started by yolocastkirk on

Topic category: Help with Minecraft modding (Java Edition)

Joined Feb 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Potion Altering Entity AI

Is it possible to have a splash potion change the AI of an entity. For example, you know how naming a vindicator Johnny alters its AI to make it attack other mobs. Could a potion change any mob from a standard entity to a friendly who attacks other mobs?

It is fine if this involves actual programming but could you explain to me how to do this?

Joined Aug 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
AI blocks can haveā€¦
Fri, 08/06/2021 - 17:25

AI blocks can have conditions assigned to them. 

Maybe that way you can check if the mob has an effect on him.