Can now use beds in inventory but with a hacky block placing workaround.
`findBlock` returns a null position.
So it uses the closest adjacent block and assumes it'll work.
Bot also is more robust at sleeping,
Refactoring and fixing code.
No major functionality change.
Probably will have less bugs.
- carry over how mcData is loaded
- stop bot on unload
- fix wrong magma block name
This is temporary, and only the `toss` function.
Old functionality is still intact.
New code will eventually move back as a subcommand to replace the old.
General purpose mover / goto plugin.
Replaces the old solver based `comehere` in miner.js.
Instead, directly based on mineflayer bot apis and pathfinder.
This makes it simpler and easier to debug.
While less general, pathfinder is sophisticated enough for most cases.
For anything that needs moving from point A to point B.
Such as:
- following
- go to a location
Not in scope: locations and places. Would be a separate plugin.