Potion Altering Entity AI

Started by yolocastkirk on

Topic category: Help with modding (Java Edition)

Last seen on 23:46, 24. Aug 2021
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?

Last seen on 07:04, 11. Jul 2024
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.