Baritone AI pathfinder

Baritone AI pathfinder

72.7k Downloads

Baritone attempts to path by falling through carpet

caaaab opened this issue ยท 1 comments

commented

Some information

Operating system: Windows 10 22H2
Java version: Version 8 Update 371
Minecraft version: Quilt 1.20.2
Baritone version: 1.2.19
Other mods (if used): Freecam 1.2.1.1, Fabric API 0.91.2

Exception, error or logs

N/A

How to reproduce

2023-12-28.12-16-49-compressed.mp4

Modified settings

allowBreak false
allowPlace false
allowInventory true
blockPlacementPenalty 20.0
blockBreakAdditionalPenalty 4.0
allowDiagonalDescend true
allowDiagonalAscend true
allowParkour true
allowParkourPlace true
avoidance true
prefix ##
mineDropLoiterDurationMSThanksLouca 500

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

Baritone can't properly handle carpets on non-full blocks (e.g. double carpets).
The easy fix would be checking pos.up in canWalkOn but that would almost double the amount of block queries done in canWalkOn. The alternative (and I think the way to go) is throwing some more special casing at movements. Any movement checking whether it wants to move onto a block also has to fetch the block above, because it has to check whether the player can move into that position and hence it can check for carpet separately from the normal canWalkOn logic.