Baritone AI pathfinder

Baritone AI pathfinder

72.7k Downloads

Avoid world change

UltraBlackLinux opened this issue ยท 6 comments

commented

Describe your suggestion With as much detail as possible

So it basically pathes but tries to avoid breaking/Placing as long as it wouldnt take to much time

Settings If applicable, what settings/customizability should be offered

#worldchangetimeout int (In seconds or milliseconds. This stops baritone from avoiding to place/break blocks if the calculated time is higher than this value)

#avoidworldchange boolean

Context Describe how your suggestion would improve Baritone

This would be useful for pathing in a base and not wanting baritone to break holes into the walls.
Note: this would require the discussed ETA feature. But that shouldnt be to bad sice it only works in RD anyways

Final checklist

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

Completely disallowing breaking / placing would make it impossible to path in some cases, which is why baritone only tries to avoid doing so.

commented

Iirc, as long as there is a valid path with allowBreak disabled, it won't break stuff

commented

but its only supposed to avoid breaking. if youre in an enclosed space you propably going to wanna do this since you want to get out but with the least damage to the world.

commented

Yes, and as I said, it'll avoid breaking unless it's impossible not to

commented

with allowBreak and allowPlace being false it should never break or place blocks
to avoid those you should set blockBreakAdditionalPenalty and blockPlacementPenalty to higher values.
(already slightly prefers not changing blocks by default)

commented

I don't think we should change the world too, im fine with how everything is atm