Topic category: Help with Minecraft modding (Java Edition)
Im making a mob that is a large bug, with a drill for its head, the AI for it is done, except one thing, its drilling capabilities.
ive tried putting a block into the AI that makes it track down specific blocks and break them, but it did'nt work as intended.
1. Because it can choose only one block per block, but because of that, i had to pllace like 20 blocks, with the most common blocks selected.
2. Because when it detected grass, it went into digging it, then it detected dirt, then stone, and it just kept on digging, ignoring all other tasks.
I want this to work like if you put a giant drill on a tank, if it cant get to the enemy, drill a tunnel to them, and not drill uncontrollably.
The tunnel also must be 4x4 (thats the approximate size of the bug horizontally) so he can freely walk in it and let most other mobs in.
I dont know how to make that, so im asking here.