cabaletta / baritone

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

Support for 1.13+ swimming #1483

Open MoonBarc opened 4 years ago

MoonBarc commented 4 years ago

Describe your suggestion

Instead of walk-jumping super slowly through the water, using the 1.13 water sprinting mechanics would be a much better use of time and energy.

Settings

maxSwimDepth - The depth of the water required to start swimming. breathInterval - Every [x] seconds, the bot should come up to breath. safeBreathePaths - Make sure that the bot doesn't through covered water, so that it can always breathe if it needs to. swimDepth - I know it's a little close to maxSwimDepth, and is a little different, so maybe we would have to come up with a better name for it. But swimDepth would control how deep the player swims.

Context

This would improve baritone by reducing the time needed when going to places with water nearby.

Final checklist

bokja commented 3 years ago

I wish i knew how to fix this.

ngoomie commented 4 months ago

This would be really helpful, I always see Baritone travelling oh-so-slowly over large oceans and for it to be able to actually swim would probably shave massive amounts of time off of pathing for me