Baritone AI pathfinder

Baritone AI pathfinder

72.7k Downloads

Baritone scripting language pog?

iinsaane opened this issue ยท 3 comments

commented

Ok so hear me out.
<< Very cool suggestion starting here >>

Make a scripting language for baritone that allows you to enhance baritone features

Example

  1. Define a command like "harvest_sugarcane"

  2. Write code
    `
    const blocks = findBlocksByName("sugar_cane")
    var finalBlocks

blocks.foreach( (block) => {
const blockBelow = blockAt( block.position.x, block.position.y -1, block.position.z)
if (blockBelow.name == "sugar_cane" ) {
finalBlocks.add(block)
}
}
mine(finalBlocks);
// wont be perfect as i am writing this on my phone uwu
`
3. run command with '#harvest_sugarcane"

This would stop people requesting features as they can code it themselves

Final checklist

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

i know, very cool

commented

Duplicate of #881

commented

Duplicate of #881

So is it coming? ๐Ÿ˜„

commented

It is unlikely to be added any time soon.