Baritone AI pathfinder

Baritone AI pathfinder

72.7k Downloads

How to prevent Baritone from mining blocks that can't be broken?

henrydatei opened this issue ยท 11 comments

commented

What do you need help with?

I'm playing on a server that offers you to mine at a specific location. Only there you are able to break blocks, but only ores. Since the mining location is a cave, there is a lot of decorative (but not breakable) blocks. The ores are in the walls and refill every few minutes. I want baritone to mine to ores so I run .b mine iron_ore. This works perfectly fine until baritone tries to mine blocks that are harder to reach. Then it tries to break the blocks in the way which is prevented by the server, so baritone is stuck in breaking blocks.

Here you can see that baritone tries to mine a cobblestone slab that is unbreakable.
2020-08-15_16 43 34

I would now like to know what I can do to prevent baritone from breaking stone, cobblestone, cobblestone slabs, ... I know there's a setting blocksToAvoidBreaking but the blocks in this list get simply ignored.

BTW: I'm using Impact 4.9.1

Final checklist

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

im having the same problem

commented

As far as I know blocksToAvoidBreaking does work, but if all alternatives are much longer or impossible Baritone will still mine the blocks in it (avoid != disallow). There is a newish blocksToDisallowBreaking setting which essentially makes path finding treat the specified blocks as unbreakable and there is allowBreakAnyway which is a list of blocks to be considered breakable even if allowBreak is disabled.

commented

Same problem

commented

If by logical conclusion, the servers simply modofying its hardnessLevel, it should be pretty trivial to add this, though safe to say it would be in a new setting most likely

Ill take a look later on this.

commented

I'm not really sure if that's the thing. I can break the cobblestone slab in normal time but when I've broken it, it gets put there instantly. It's a bit like when the server has some form of plot system (like the plugin plot^2). When you there try to break blocks on other players property the blocks get instantly replaced.

I've made a video to show this: https://www.youtube.com/watch?v=WpwktkvzR4g

commented

I would now like to know what I can do to prevent baritone from breaking stone, cobblestone, cobblestone slabs, ... I know there's a setting blocksToAvoidBreaking but the blocks in this list get simply ignored.

That's a known bug

commented

Are there already ideas to fix this? Or is there a fix in progress?

commented

There's an opened issue somewhere

commented

Turn on legit mine

commented

How do i turn legit mine on?

commented

#legitmine, it is a setting.