Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gets stuck breaking blocks on 2b #4269

Open
4 tasks done
beckadamtheinventor opened this issue Feb 9, 2024 · 6 comments
Open
4 tasks done

Gets stuck breaking blocks on 2b #4269

beckadamtheinventor opened this issue Feb 9, 2024 · 6 comments
Labels
bug Something isn't working

Comments

@beckadamtheinventor
Copy link

beckadamtheinventor commented Feb 9, 2024

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.

@beckadamtheinventor beckadamtheinventor added the bug Something isn't working label Feb 9, 2024
@ZacSharp
Copy link
Collaborator

Wild guess: It happens when instamining.

@beckadamtheinventor
Copy link
Author

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.

@ZacSharp
Copy link
Collaborator

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).

@beckadamtheinventor
Copy link
Author

beckadamtheinventor commented Feb 11, 2024

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.

@ZacSharp
Copy link
Collaborator

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.

@beckadamtheinventor
Copy link
Author

Problem is, this issue also happens without Meteor installed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants