Avoidant Mob / Entity - Avoid Entity of Type not working(?)

Started by pringle on

Topic category: Troubleshooting, bugs, and solutions

Joined Apr 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Avoidant Mob / Entity - Avoid Entity of Type not working(?)

Hi all, I’m currently running the stable release of 2024.4 Neoforge (due to plugin support)


I’ve currently got a living entity running the AI condition of Avoid Entity of Type in Radius.

I’ve attempted to get this block to work to no succession, I’ve tried nearly every solution I can think of, such as increase / decreasing radius, changing near and far speed (I don’t see why that’d change anything… but I tried nonetheless)

I tried to also remove other blocks such as Wander, applying Start and Continue conditions to different ones, etc.


Any support is appreciated because I have no idea why this block isn’t working, even if there is a procedure based mechanic I could utilise, that’d be great

 

Thanks!

Joined Apr 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Bump
Mon, 04/28/2025 - 18:41

Bump

Joined Apr 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Hi Klemen, Hope you're well,…
Wed, 04/30/2025 - 22:45

Hi Klemen, Hope you're well,

Yeah, the entity will walk randomly every now and again with that block on. I did try it with and then without and it still didn't work

I've managed to create a work-around in that I'll spawn another Custom Entity, make it invisible (hitbox-wise) then have it teleport to me on an onEntityTick event and then make the original Custom Entity avoid that Entity instead, Its quite buggy, but for now it works

 

I'm still perplexed on it myself though, The Avoid Entity of Type [X] in Radius block just doesn't work for the Player & Sever Player entity class when I've tested.

 

Let me know if there's anything I can provide because I'm eager on solving it and maybe simplifying the Entity in question.

Aha, it could be this block…
Fri, 05/02/2025 - 13:06

Aha, it could be this block indeed does not work with player and is rather meant for more standard living entity types