Baritone AI pathfinder

Baritone AI pathfinder

72.7k Downloads

Selective Tool Use and Preservation

dreamweaver-0 opened this issue · 3 comments

commented

Describe your suggestion

Enable Baritone to consider what tools would be most efficient / most profitable when mining based on enchantments. As well as preserve tools before they break (for repairing later) whether it be only tools with enchantments or only
Example: Two pickaxes, one with Efficiency, one with Fortune. Baritone will decide that the Efficiency pick will be most efficient to mine regular stone/obsidian, and will switch to the fortune pick to mine ore.

Settings

  • considerEnchantments true/false = Decide whether or not Baritone will care what enchantments are on the tools in your hotbar.
  • preserveTools true/false = If a tool is about to break, stop using it or switch to another.
  • preserveToolsThreshold = (eh, probably not needed) What durability a tool has to reach before Baritone will ignore it for mining. (Default could be around 10 rather than 1, just in case you accidentally swing it while walking home and break it)
  • preserveOnlyEnchanted true/false = Only tools with enchantments on them will be saved.

Context

A feature like this would give a little boost towards mining more efficiently (as well as more profitably) in survival mode. As well as letting players trust Baritone to come home with their valuable, fully enchanted pickaxe, still intact.

Final checklist

  • [✓] I have not used any OwO's or UwU's in this issue.
commented

+1

commented

Commenting on the issue doesn't do anything useful and sends a notification to all watchers of the repo, so please refrain from doing that and instead just react to the issue with a thumbs up.

commented

In Minebot, I solved this using the ToolRater. The user gives a list of such raters, the one with the highest proprity is taken. Those are the default rules I use, feel free to copy.