baritone icon indicating copy to clipboard operation
baritone copied to clipboard

Custom blocksToAvoid penalty

Open radicore opened this issue 1 year ago • 0 comments

Custom blocksToAvoid penalty

Being able to customise a blocks penalty value as an extension to blocksToAvoid

Settings

  • You can add a block penalty by specifying blocksToAvoid [block] [number]
  • Default / max would be COST_INF by not specifying a number
  • Min value would be 1.000 which would remove the block from the blocksToAvoid list

Context

Pathing through water would have a higher cost because it is slower (as baritone hovers rather than swims through water) than walking on land.

Having a customisable penalty means it could walk on that block to reach its goal as a last resort instead of failing on the spot. (example being simply adding it to blocksToAvoid would not find a path if that was the only option)

Another one could be setting it to preferring soul sand if wearing soul speed boots

Final checklist

  • [x] I know how to properly use check boxes
  • [x] I have not used any OwO's or UwU's in this issue.

radicore avatar Jul 10 '25 15:07 radicore