PrismarineJS / mineflayer-navigate

mineflayer plugin which gives bots a high level 3d navigating API using A*
59 stars 22 forks source link

Snow and DEFAULT_END_RADIUS lead to a timeout #32

Open gserrg opened 6 years ago

gserrg commented 6 years ago

On the snow (or other blocks from https://github.com/PrismarineJS/mineflayer/issues/228), the bot goes 1 block higher, as a result, DEFAULT_END_RADIUS may be too small to reach the target. In this scenario, all findPathSync work until timeout.

p.s. In my case, I explicitly increase the radius, but in many algorithms this is not an obvious moment that affects the speed of navigation.