Baritone AI pathfinder

Baritone AI pathfinder

72.7k Downloads

Set blocks to avoid & Exploration Algorithm

m00nyONE opened this issue ยท 3 comments

commented

Describe your suggestion

I miss a way to set a block or blocktype to be avoided by baritone. This can even lead to a simple but powerfull exploration method. sure you can say "goal 0 0 0" an then "invert" but thats only one method and it does not follow a specific rule.
If you could tell baritone to AVOID water but allways try going LEFT/RIGHT you will be able to explore the world ( and also maybe pattern your Journeymap ) in a whole different way because you follow the border of the water.

waterborder

Settings

  • #avoidBlocks [ ID, ID, minecraft:name]
  • #explore to do the oldschool way: goal 0 0 0 && invert
  • #explore waterborder left to walk with water to the left
  • #explore waterborder right to walk with water to the right

Context

It is funny and a new way to explore the world. You can even make art out of it if you want to.
It also gives baritone the possibility of avoiding specific block ID's and not only "dangerous blocks" ( this can be usefull when combining bariton with mods that differ the world generation )

Final checklist

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

What would an 'invert' do?

commented

What would an 'invert' do?

"invert to invert the current goal and path. This gets as far away from it as possible, instead of as close as possible. For example, do goal then invert to run as far as possible from where you're standing at the start." from https://github.com/cabaletta/baritone/blob/master/USAGE.md

it's one of the basics of baritone!!

it's an old command. I just wanted to say that if you type explore its just does the same as goal ~ ~ ~ and then invert . simple as that. It's only a shortcut

commented

uh, I mean just like, set the goal to 30000000 120 30000000