IA mod conditions [HELP]

Started by DeadlYRose090 on

Topic category: Help with modding (Java Edition)

Last seen on 10:47, 9. May 2021
Joined May 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
IA mod conditions [HELP]
Mon, 05/03/2021 - 13:34 (edited)

Hey hey, I checked and I seem no one has my issues. So I made a mob but it seem I m too dumb to make a working conditions, my intention for the the mob is to attack anything that have the bad omen effects but it's peacefull otherwise. I would love if anyone could help me with it. 

 

https://ibb.co/RQgjnpq

Edited by DeadlYRose090 on Mon, 05/03/2021 - 13:34
Last seen on 13:21, 6. Apr 2024
Joined Mar 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I am writing this rather for…
Thu, 08/18/2022 - 20:15

I am writing this rather for those who are also looking for this.
This solution (for a reason unknown to me) does not work.
It crashes during verification.
If you know the answer, then create a topic with the answer to help others.

Last seen on 13:56, 19. Dec 2022
Joined Feb 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Go to AI tasks of entity,…
Thu, 08/18/2022 - 20:56

Go to AI tasks of entity, find the block that is named something liked "attack on contact" go to conditions and add your procedure. Also I think it works better if you change your procedure to: "return" "if" "has entity active potion effect".

Last seen on 13:56, 19. Dec 2022
Joined Feb 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
sorry remove the "if" block…
Thu, 08/18/2022 - 20:58

sorry remove the "if" block in the last part