Avoid world change
UltraBlackLinux opened this issue ยท 6 comments
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.
Completely disallowing breaking / placing would make it impossible to path in some cases, which is why baritone only tries to avoid doing so.
Iirc, as long as there is a valid path with allowBreak
disabled, it won't break stuff
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.
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)