Open rom1504 opened 11 years ago
need https://github.com/superjoe30/mineflayer/issues/125 and https://github.com/superjoe30/mineflayer/issues/127 to progress on this one
the craft command now works, but I intend to do a more sophisticated craft command which will craft the needed block or possibly get them
cget command do that. What's missing from cget :
A cool objective for this command would be for the bot to start with nothing (no items) then for cget 1 swordDiamond to work.
cget now works better : the bot gets stuck less often : I have been able to collect 30 diamonds, 30 obsidian and 110 logs without too much problems Main problems left :
Once craft will work reliably I can use cget in smove so that the bot can be even more autonomous
I tried this today and it is really fun! It will be very cool when it can figure out how to complete complicated recipes
Craft is now fixed in mineflayer :)
So all these ideas up there can now be implemented.
Problem identified : cget 100 stone
continue forever since the bot doesn't get stone, he gets stonebrick.
cget 100 stonebrick
doesn't get anything since it doesn't know how to get "stonebrick".
Possible fix : have a correspondence list between stone -- stonebrick and similar things.
should be a generated task : if it doesn't have the needed block, it should go get them (or craft them), so it needs to generate dependencies.