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

Use the tool plugin for tool selection instead of pathfinder #22

Closed TheDudeFromCI closed 3 years ago

TheDudeFromCI commented 3 years ago

Pathfinder's tool selection is usable, but not optimal. Switch to the tool plugin for better long term stability and quality.

TheDudeFromCI commented 3 years ago

Done

vinaghost commented 3 years ago

hi @TheDudeFromCI , can I ask where do you define tool.chestlocations? i have found this in CollectBlock.ts but haven't found something like this in example "tool Fetcher" (mineflayer-tool)

do I miss something? Thanks for noticing me ._.

TheDudeFromCI commented 3 years ago

@vinaghost Loading the collect block plugin automatically loads the tool plugin as well. So you can configure the tool plugin the way you normally would, exactly like in the example you linked.

vinaghost commented 3 years ago

@TheDudeFromCI thanks it will be better if you mention it in readme or somewhere

TheDudeFromCI commented 3 years ago

@vinaghost Thanks for the tip. I'll add that in one of the example files.