Baritone AI pathfinder

Baritone AI pathfinder

72.7k Downloads

The Farsight mod causes baritone to not be able to find a path

ehylo opened this issue ยท 3 comments

commented

Some information

Operating system: Windows 10
Java version: Java 17
Minecraft version: 1.19.2
Baritone version: https://github.com/cabaletta/baritone/actions/runs/3770503180
Other mods (if used):
farsight-fabric-1.19-2.4
fabric-api-0.70.0+1.19.2

Exception, error or logs

https://paste.ee/p/Z9vdL
there is no error or anything so the logs probably are not helpful

How to reproduce

simply put baritone, farsight, and fabric api in your mods folder and try to run #mine coal_ore and baritone will say it cannot find a path

Modified settings

verboseCommandExceptions

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

https://modrinth.com/mod/distanthorizons
does the same and is compatible.
until/unless we fix, this is an alternative

https://modrinth.com/mod/bobby
might also work but I haven't tested

commented

Seems like the fabric version of farsight (the forge version works entirely different) swaps out the chunk manager / chunk cache for a custom implementation, which likely doesn't populate the array Baritone extracts to create a thread safe copy for use on the pathing thread. (don't know for sure because farsight is closed source and I won't put in the extra effort required to do check this without the original code).

commented

we already discussed this on discord. yeah pretty much