Baritone AI pathfinder

Baritone AI pathfinder

72.7k Downloads

Water MLG on leaves not possible in newer versions.

ClientCrash opened this issue ยท 4 comments

commented

Some information

Minecraft version: 1.19.2
Baritone version: newest release

How to reproduce

Make Baritone path so it will mlg on a tree or other leave blocks.
The leaves will get waterlogged and the player takes normal fall damage.
I dont know if this is a bug or a suggestion but such paths should not be made in this case.

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

Definitely a bug. Which version is the first where leaves can be waterlogged?

commented
commented

And another hackfix upcoming, because nothing better is available.
This happens on all versions if the landing block has a right click action (e.g. chest) and the only known and reliable fix is simply sneaking every single time (that's also the reason why Baritone spams shift while building).

commented

Sorry for not actually opening the pr. I already had the code done and then decided to check whether there's more cases where "oh that block is clickable?" is a problem and found two: BackfillProcess, which is fixable the same way, and MovementParkour, which is awful because pressing shift midair in a sprint jump is not the best of ideas (might work though, we only need it for a tick or two). Since you have to prevent that jump up front, not the second before hitting space, I decided to write a function similar to canWalkOn to decide whether a block can be safely placed agains, and that's where I left off and forgot about this.