Baritone AI pathfinder

Baritone AI pathfinder

72.7k Downloads

Gets stuck breaking blocks on 2b

beckadamtheinventor opened this issue ยท 6 comments

commented

Some information

Operating system: Windows 10
Java version: Eclipse Adoptium 17.0.6.10
Minecraft version: 1.20.1
Baritone version: 1.10.1
Other mods (if used):

Exception, error or logs

Sometimes gets stuck breaking the same block repeatedly.

  • Happens with Efficiency 5 netherite pickaxe
  • Does not happen with stone pickaxe
  • Does not happen with diamond pickaxe

How to reproduce

On 2b2t:
Obtain efficiency 5 netherite pickaxe
Set positions 1 and 2.
Clear the area (set air)

#sel p1
#sel p2
#sel set air

Modified settings

None

Final checklist

  • I know how to properly use check boxes
  • I have included the version of Minecraft I'm running, baritone's version and forge mods (if used).
  • I have included logs, exceptions and / or steps to reproduce the issue.
  • I have not used any OwO's or UwU's in this issue.

Edit: I am aware of #4110 , the solution does not help on Meteor and happens with just baritone installed.

commented

Wild guess: It happens when instamining.

commented

It happens when the block breaks too quickly (without instamining)
Might be an issue with 2b though, max speed netherite tools seem to have issues breaking in general. The axe on trees for example you have to break the same block repeatedly, without the use of Baritone.

It would be helpful if there was an option in Baritone that could slow down block breaking, or a block break timeout of sorts.

commented

Sounds like a desync problem. The client thinks it's done and removes it locally (making Baritone stop) but the server decides you haven't been mining it for long enough to be done and places it back. Maybe the leniency of the server side checks makes this more likely for short breaking times.
If your client has a feature to disable local echo for block breaking ("anti desync", "anti ghostblock", whatever) you might want to try that.
"Slowing down" Baritone would be hard since this kind of slowdown basically means aiming for blocks which don't exist anymore (locally).

commented

I have anti ghost blocks on. I'm on Meteor. I have tried both the official and modified (for Meteor) versions of Baritone.

At this rate I should probably email the admin with a bug report because it does happen without Baritone for other netherite tools.

commented

It looks like Meteor blocks the block from being removed locally but then runs part of the breaking logic to get sounds and particles. That means you can break the block multiple times client side without needing the server to place it back.
I haven't looked at the precise logic involved for Baritone to think a block is broken so I'm not sure whether Meteor actually cancels the part which matters for Baritone.

commented

Problem is, this issue also happens without Meteor installed.