Enhanced AI

Enhanced AI

9M Downloads

The Mobs "Avoid explosions" feature is not working at all.

Closed this issue ยท 5 comments

commented

Describe the bug
The Mobs "Avoid explosions" feature is not working at all.

Expected behavior
When a Creeper or TNT is about to explode, nearby passive mobs (like cows) should try to flee, but they stay still.

Versions where you encountered the problem (Use the exact version numbers, not 'latest' or similar):

  • Minecraft: 1.20.1
  • Forge: 47.4.0
  • Enhanced AI: 2.7.1
  • InsaneLib: 1.21.18

Steps to reproduce

  1. Set "Enable Avoid explosions" = true in config/enhancedai/common.toml
  2. Place a cow next to a Creeper or TNT block
  3. Trigger the explosion (Flint and Steel, or Survival mode near Creeper)
  4. The mob does not attempt to flee before the explosion

Screenshots
If applicable, add screenshots to help explain your problem.

Image Image

Logs
No relevant logs were generated.

Have you manged to reproduce this with Enhanced AI only or with a minimal set of mods? Expecially try without Syntra connector or similar mods
Yes. The issue happens with only Enhanced AI and its dependency InsaneLib.

commented

Did ypu try somewhere where they can actually run?

commented

Yes, I tested in an open area where mobs can move freely.
The screenshots are just illustrative.
Sorry for the delay in responding.

commented

Can't reproduce, works properly

Recording.6.mp4
commented

The flee effect does not trigger if the Creeper is ignited in Creative mode using Flint and Steel.
Also, I had to manually add TNT to the entity list in the datapack, but that was after installing another ~100 mods.

Sorry if I caused any inconvenience.
Thank you very much for your attention, and for your incredible mods that make all of this possible.

commented

No, the igniting of creepers with flint and steel doesn't trigger avoid explosions.

Tnts are disabled by default, just enable the config