Entity ia condition

Started by dzredboss on

Topic category: Help with Minecraft modding (Data Packs)

Joined Mar 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Entity ia condition
Tue, 03/22/2022 - 17:56 (edited)
before starting, I speak French and 
this is a translation.
 so I want my mob to attack when
 it has more life than the other
 targeted mob (the procedure step, 
I know how to do).
the problem is that when I start 
in the conditions of the attack block,
 I only see the dependency of a
 single entity (surely that of the mob
 that I want to create) and not that 
of the mob that must be attacked 
( because I have to know how many 
hearts he has).
 so how do I do it?

 

Edited by dzredboss on Tue, 03/22/2022 - 17:56
Joined Jan 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Well you need a way for…
Tue, 03/22/2022 - 18:31

Well you need a way for MCreator to know what the targeted mob is, which I don't know if it's possible with AI blocks atm.