IA mod conditions [HELP]

Started by DeadlYRose090 on

Topic category: Help with Minecraft modding (Java Edition)

Active 4 years ago
Joined May 2021
Points:
577

User statistics:

  • Modifications: 0
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 0
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
Active 4 days ago
Joined Mar 2018
Points:
782

User statistics:

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

Active 2 years ago
Joined Feb 2022
Points:
651

User statistics:

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

Active 2 years ago
Joined Feb 2022
Points:
651

User statistics:

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

sorry remove the "if" block in the last part