cabaletta / baritone

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

Cave Avoidance #1045

Open ghost opened 5 years ago

ghost commented 5 years ago

Describe your suggestion

Before the pathing has begun, Baritone will not make path plans through caves or ravines. (The concept is simple. Implementation might be different)

Settings

Context

Context 2 (Blog)

I've always thought that if this was added, Baritone wouldn't get itself killed every time I went AFK while it was mining diamonds. I am open to everybody's thoughts if this is a good idea or not. Or I'm completely wrong and this is a clone. Also, the only reason why I mentioned lava, is because there is a bug with the current version of Baritone and Impact, where if Baritone paths near lava (mostly in the nether), the player will fall right in. If this is non-existent with anyone else, please do say so, and ignore that section in Context. (This is my first "real" suggestion)

Extra

Final checklist

ghost commented 5 years ago

Not bad, but maybe assumeWalkOnLava is set to true?

ghost commented 5 years ago

I have checked multiple times, and assumeWalkOnLava is always false.

TheK0tYaRa commented 5 years ago

Implementation might be easy because all caves have blocks over your head (dirt and stone mostly) which can be a way to detect a cave