PrismarineJS / mineflayer-collectblock

A simple utility plugin for Mineflayer that add a higher level API for collecting blocks.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bot not avoiding lava

cojored opened this issue · comments

The bot is repeatedly killing itself

Direct link to gif https://dscgg.net/uploads/515061247c32b5482258.gif

This appears to be an issue with your pathfinder plugin setup.
The collectBlock plugin internally uses the pathfinder plugin for navigation.

Well it works fine when I code the pathfinder goal

The problem seems to be, that we are avoiding lava when pathfinding, but no checks are implemented to stop breaking target blocks that are covering lava.

Added lava avoidance in #84