Baritone AI pathfinder

Baritone AI pathfinder

72.7k Downloads

Cannot access the builder process using the API

VonHirsch opened this issue ยท 5 comments

commented

Some information

Operating system: Windows
Java version: 1.8
Minecraft version: 1.12.2
Baritone version: 1.2.9
Forge mods (if used): Custom Vanilla MDK mod with sample command

Exception, error or logs

log

How to reproduce

Create a custom mod using MDK, attempt to access the builder process using the baritone API

Offending Code

String file = "test";
BlockPos origin = new BlockPos(player.posX, player.posY, player.posZ);
boolean success = BaritoneAPI.getProvider().getPrimaryBaritone().getBuilderProcess().build(file, origin);
^ line 46

Final checklist

  • 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

I created a pull request which resolved this issue. See if you like it:

#1035

commented

How are you adding the dependency to your Forge environment?

commented

I added baritone-1.2.9.jar and baritone-1.2.9-sources.jar to /libs in my forge mod folder structure as I couldn't get the baritone gradle dependency to work as documented here: https://jitpack.io/#cabaletta/baritone

commented

I'm probably adding the dependency incorrectly then.

commented

is the method described on https://jitpack.io/#cabaletta/baritone the preferred way to utilize baritone and the API?