altoclef
altoclef copied to clipboard
"The Real Forger"'s Crafting Table slowdown
Bug Description
"when the bots last pick breaks and has all of the stuff to make a pick but still mines with its fist all the way to the surface to fine a crafting table"
Steps to Reproduce (as best as you can)
Mine underground with a nearly broken pick and a crafting table/enough materials to make a crafting table.
Have a crafting table on the surface.
The pick should break and the bot will need to craft another
Expected Behavior
The bot sees that the crafting table is far away and will instead make its own.
Actual Behavior
The bot digs up to the surface with its bare hands to get to the crafting table far away.
Potential solution (dev notes)
Use Baritone's rough heuristic that penalizes height to decide whether a crafting table is too far away. FIGURE OUT how to prevent the "going back and forth" issue. Consider using a "DoToClosestObject" task.
Easier 'solution' check if it can get there without mining using baritone, if not craft a crafting table
it also does this with furnaces, it will never take a furnace with it and will also never craft a new one unless the old one was destroyed