AI condition confusion

Started by _Chirp_ on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
AI condition confusion

I'm a bit confused about the "Additional start condition" and "Additional continue condition" parameters for custom AI.
I find that using only continue parameters does not stop the behavior when the condition is no longer met...
Can I get some more information about this? Looking at the mob's code for the AI just makes it "return true".

Nothing can be found about this on the "knowledge base" or "wiki".
Additionally, the text bubble that appears when you click on the [?] button is cut off by the window size as well. This is why I'm asking this in the first place.

Information is cut off by window size

 

 

I'm not sure making an additional bug report ticket would count as a duplicate post, though.

Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I made a formatting error…
Tue, 08/11/2020 - 10:38

Information is cut off by window size

I made a formatting error with the image above, this is what it was supposed to display.

I find that using only…
Tue, 08/11/2020 - 14:57

I find that using only continue parameters does not stop the behavior when the condition is no longer met..

Yes, this is how this is designed. Start condition is for starting, not for actual execution after the start

Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
So how do I make a behavior…
Tue, 08/11/2020 - 15:42

So how do I make a behavior block stop executing with a condition?

and I imagine that that bug is quite annoying, as you can't really fix it yourself/yourselves.

I suggest you open a ticket…
Tue, 08/11/2020 - 17:07

I suggest you open a ticket on the tracker, make one mob with one condition demonstrating this.

Please do not attach whole dev workspace, but workspace demonstrating the issue.

Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
For now I found a fix: just…
Thu, 08/13/2020 - 17:12

For now I found a fix: just have the condition be on both the starting and continuous condition fields.
I don't fully understand why yet, but it solved my problem.

Joined Aug 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Hi _Chirp_, how do you add…
Thu, 08/27/2020 - 19:52

Hi _Chirp_, how do you add conditions in the first place? And how can you define what animal something breeds with and what the offspring is?