altoclef icon indicating copy to clipboard operation
altoclef copied to clipboard

If the tool baritone is using is about to break, make a new one

Open TheBlueBurger opened this issue 3 years ago • 3 comments

Your Idea

The bot should make a new tool because it very often gets stuck underground when the tool breaks.

TheBlueBurger avatar Jun 13 '21 17:06 TheBlueBurger

Absolutely.

Will probably have a "durability before replacing" threshold in settings (also corresponds to the number of blocks you can break with a pick). Once the sum of thresholds in your inventory goes below this value, the bot needs to get a new pickaxe before its mining requirement is met.

TacoTechnica avatar Jun 13 '21 17:06 TacoTechnica

A bug could be with like wooden pickaxes, that it will replace before it even starts mining because the tool is too low durability, maybe make it a percent? Like if only 10% is remaining, replace

TheBlueBurger avatar Jun 13 '21 17:06 TheBlueBurger

Valid concern, but in that case the bot will simply grab an extra wooden pickaxe before doing anything. I don't consider that a bug, but it might be unintended user behavior. Percents are relative to the tool you have at disposal, when it comes to getting stuck the only thing that matters is the number of blocks you can break with it.

Now if you're concerned about breaking enchanted tools that's valid, percents may make sense there. That would be a separate feature IMO.

TacoTechnica avatar Jun 13 '21 17:06 TacoTechnica