Enhanced AI

Enhanced AI

7M Downloads

[Crash] Incompatibility with Roadrunner Entity Tracking mixins when an ender pearl zombie decides to mount a boat

Kaleidio opened this issue ยท 3 comments

commented

Describe the bug
This crash occured whilst a player was being chased by an ender pearl zombie and both entered a boat.

It is due to the tracking behaviours having become event based in roadrunner, which cannot happen twice per tick, so make sure the ai only has one tracking task at a time by using a comparison check to avoid adding another task if one already exists.

Theoretically it is unsafe to add two simultaneous tasks to a goal based AI anyway, so this should truly be patched by this mod and not roadrunner

This crash can be prevented by disabling roadrunner's mixin.ai.nearbyentitytracking mixin in their rules config

Versions:

  • Minecraft: 1.16.5
  • Forge: 36.2.39
  • Enhanced AI: 1.2.3
  • InsaneLib: 1.4.2

Steps to reproduce

  1. Trigger a chase from a zombie holding an ender pearl
  2. Summon a boat and enter it
  3. Position the boat in a way that allows the enderpearl zombie to enter it

Logs
https://pastebin.com/XG03kSk6

Can the issue be reproduced with a mininal set of mods? (E.g. EnhancedAI + InsaneLib + Tinkers' Construct)
Yes (Enhanced AI, InsaneLib, Roadrunner)

commented

1.16.5 is no longer supported. Also I don't understand what's the problem

commented

whoops sorry, I meant to post this to SpecialAI

commented

From what I understand I mistook the names of your two mods by accident, I apologize.