Baritone AI pathfinder

Baritone AI pathfinder

72.7k Downloads

Baritone will only navigate to 0,0 when using setGoalAndPath

MoonBarc opened this issue ยท 2 comments

commented

Some information

Operating system: Windows 10
Java version:

java version "1.8.0_241"
Java(TM) SE Runtime Environment (build 1.8.0_241-b07)
Java HotSpot(TM) 64-Bit Server VM (build 25.241-b07, mixed mode)

Minecraft version: 1.15.2
Baritone version: 1.5
Forge mods (if used): none

Exception, error or logs

no errors.

How to reproduce

  1. Make a new baritone command and register it.
  2. Put this in the execute method: baritone.getCustomGoalProcess().setGoalAndPath(new GoalBlock(new BetterBlockPos(20,50,27))); <-- any coordinates will work
  3. Run the client and watch it die.

Modified settings

AllowParkour - true
AllowBreak - false
AllowPlace - false

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

nevermind im really stupid and put another setgoalandpath(0,0) below all of my code.

commented

I have tried GoalXZ and GoalBlock and they both take me to 0,0 for some reason