"lead me out of this mine" command
andrewrk opened this issue · 3 comments
andrewrk commented
would be pretty easy to implement and could be really helpful
Darthfett commented
Using A* with the isEnd function set up to check if a block is the highest physical block in the column?
andrewrk commented
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
rom1504 commented
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