{"repo":"PrismarineJS/mineflayer-pathfinder","free":true,"listed":false,"github":"https://github.com/PrismarineJS/mineflayer-pathfinder","clone":"git clone https://github.com/PrismarineJS/mineflayer-pathfinder.git","description":"Pathfinding plugin that gives bot the ability to go from A to B","language":"JavaScript","stars":307,"topics":["minecraft","pathfinding","bot"],"license":"MIT","category":"game-templates","readme_excerpt":"Mineflayer-pathfinder Pathfinding plugin for the Minecraft Bot API Mineflayer. Create static, dynamic or composite goals to navigate Minecraft terrain fully autonomously. Mostly stable. Feel free to contribute by making suggestions or posting issues. Install Tutorial & Explanation For a basic explanation of how to use mineflayer-pathfinder, you can read this tutorial. Video Tutorials For a video tutorial explaining the usage of mineflayer-pathfinder, you can watch the following Youtube videos: Example Features Optimized and modernized A pathfinding Complexe goals can be specified (inspired by baritone goals ) Customizable movements generator Each movement can have a different cost Can break/place blocks as part of its deplacement Automatically update path when environment change Long distance paths Can swim Can avoid entities Modular and easily extendable with different behavior API Considering there are a lot of deep changes that are being worked on, it could take some time before it's done Also, for now , there is only the pathfinder module, movements and goals still need to be done Functions: bot.pathfinder.goto(goal) Returns a Promise with the path result. Resolves when the goal is reached. Rejects on error. goal - Goal instance bot.pathfinder.bestHarvestTool(block) Returns the best harvesting tool in the inventory for the specified block. Returns - Item instance or null block - Block instance bot.pathfinder.getPathTo(movements, goal, timeout) Returns - The path movements","default_branch":null,"files":null,"tree":[],"storefront":"/r/PrismarineJS","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/PrismarineJS/mineflayer-pathfinder/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}