PrismarineJS / mineflayer-collectblock

A simple utility plugin for Mineflayer that add a higher level API for collecting blocks.
MIT License
39 stars 25 forks source link

Make the bot not collect a block when standing on it. #86

Open gyorik opened 2 years ago

gyorik commented 2 years ago

Currently, there are no checks implemented to avoid breaking blocks that have a gap under them, when the bot is standing on them. Either exclude these blocks from the target, or change the Goal function of the pathfinder to stand next to the block instead of on it.