Darthfett/helperbot

"lead me out of this mine" command

andrewrk opened this issue · 3 comments

would be pretty easy to implement and could be really helpful

Using A* with the isEnd function set up to check if a block is the highest physical block in the column?

this is the algorithm I had in mind:

start with a vector ( speaker.x, 255, speaker.z)
go down until you hit a solid block.
navigate to that position, and if you can't find a path, go to the closest possible path

In rbot I can use my spiral up command in order to do that : it build a spiral stairway until it reaches y=64 for example.
It means digging and building but this can be done with mineflayer-scaffold for example.
This works everytime even if there is no existing path to y=64