cabaletta / baritone

google maps for block game
GNU Lesser General Public License v3.0
7.13k stars 1.43k forks source link

Option to preview path before executing #928

Open User670 opened 5 years ago

User670 commented 5 years ago

Describe your suggestion

I've had a few instances where Baritone's path finding break some of my structures and contraptions. It might arguably be helpful to allow an optional secondary confirmation to path finding commands, showing path (but not actually moving the player) before the player confirms (and before mistakes were made). Also can be used when the player doesn't trust Baritone's movement and want to take controls themselves.

Settings

A setting like secondaryConfirmation, which when enabled, will cause path finding commands to wait for a #confirm command before actually taking over the controls.

Context

part of base broken by path finding, also distrust of the bot when moving through areas with mobs (at night or in caves)

Final checklist

jonnyawsom3 commented 4 years ago

sounds good, almost like what should happen for any travel command where you have to say "path" before continuing

iamlcarus commented 4 years ago

I inadvertently made a duplicate of this issue, that being the above. Take it as my show of support for this enhancement, that I'd also like to see it added myself. You can already sort of do it in a very janky way, by telling the AI to do something and then immediately pausing it. This will stop the AI from moving, but still show what the UI will do. This solves the "preview" part of things, but since this image doesn't update while paused, its not the best way for the player to use commands while still having control, as they'd have to continually manually update it themselves by re-executing and pausing the command.