Mob Not Breaking Blocks with AI Task

Started by Bossyoutuber00 on

Topic category: Troubleshooting, bugs, and solutions

Joined May 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Mob Not Breaking Blocks with AI Task

I want a custom mob that has the ability to break certain blocks. I added "Break blocks of type" to the AI task/goals list and it did not break the blocks. I tried moving it to the top and even removing everything but "Break blocks of type". It will run up to the block and just stand there. 

Did I do something wrong or is this a bug? Version 2024.2

Joined Feb 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You didn't do anything wrong…
Thu, 02/13/2025 - 01:18

You didn't do anything wrong, the ai for this task is incredibly janky.
From what I can tell, it's based on zombie's AI to break turtle eggs; the mob will attempt to stand on the block, then jump in place as eggshell particles spawn until it breaks. The speed stat on the block seems to be tied not to how fast it breaks but rather how fast the entity moves to get on top, and anything ~2 or above, they run fast enough they move back off the target block.
I can't find any way to make this block actually function well, unfortunately.