Baritone AI pathfinder

Baritone AI pathfinder

72.7k Downloads

ETA Command

MoonBarc opened this issue ยท 18 comments

commented

Describe your suggestion

When using Baritone, I quite often find myself like a obnoxious 7 year old trying to ask baritone "ARE WE THERE YET???"
To fix this, a simple #eta command would be very useful. It would show the remaining time in seconds, or if you explicitly set it (see below), it would show in ticks.

Settings

There is not much to add to this. Maybe an option like showEtaInTicks would be useful, but otherwise there wouldn't be much.

Context

My suggestion would improve baritone because (at least I think) there is an API method for finding the ETA, but it currently does not have a command.

Final checklist

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

Is this a duplicate of #16?

commented

Not really, this issue is for a command to return the ETA

commented

Would the eta suggested in #16 be sufficient or does this specifically ask for a complete (or as complete as possible) path through the cache?

commented

No, #16 is to improve the current ETA calculation, this issue is to add a command to let you access the ETA without a utility mod like Impact

commented

I thought this is to add a command to access an improved ETA

commented

To access the ETA*

commented

The current one? That's easy. Doing it.

commented

Yea, but there's no command for users to access the current ETA system

commented

That's what I'm doing?

commented

There's no command to access the ETA?

commented

And I am adding it (for our current segment ETA)

commented

But should I also do #16 with the ETA suggested by @leijurv?
The command would show both

commented

I guess so

commented

Impact client has this function, but it has the problem, that the time is calculated only until the next path way decision is will be made. This cant be useful.

commented

@MoonBarc Be aware that if you ask baritone to find a way to a place that is not loaded yet, it will generate the way gradually. Baritone has no way of knowing how much time is left because it does not know the terrain (for example, it is faster to cross a desert than to go around a large mountain).

What you can do is simply look at the coordinates and try to figure out the distance, and thus, an approximate time.

commented

I mean, Baritone caches the chunks, and ETA is always an estimate

commented

Dunno if this would be somewhat impossible, but you could get the seed of the world, and generate an estimate off of that. This would exclude player-made structures, but for a freshly made world it would work relatively well. If cached chunks did exist though, it could work off of that as that is much more accurate.

commented

That's out of scope for baritone.