michaelzangl / minebot

Minebot
GNU General Public License v3.0
146 stars 48 forks source link

Craft Dependent Items If Possible #156

Open opticyclic opened 7 years ago

opticyclic commented 7 years ago

If I have 1 log in my inventory /minebot craft 1 crafting_table fails. If I have 4 planks in my inventory it succeeds.

minebot should look for planks first and craft them if they are not available.

This is relatively straight forward for simple wooden items but has the potential to become very complicated. e.g. If I want a stone axe and I have nothing I have to:

Therefore, this issue (and any pull request) should only cover crafting dependent items if the required blocks are already in the inventory (or chest) and is not for covering the use cases that require collecting further resources.