Baritone AI pathfinder

Baritone AI pathfinder

72.7k Downloads

compileJava Fail using Baritone API in a custom mod – specifically BuilderProcess().build

VonHirsch opened this issue · 2 comments

commented

I created a vanilla mod using Forge and MDK 1.12.2, and using the example API call works perfectly:

BaritoneAPI.getProvider().getPrimaryBaritone().getCustomGoalProcess().setGoalAndPath(new GoalXZ(10000, 20000));

However when I attempt to use the schematic builder in the same project like so:

boolean success = BaritoneAPI.getProvider().getPrimaryBaritone().getBuilderProcess().build(file, origin);

The compiler is not happy:
cannotAccessEt

Does anyone know why the argument "origin" of type BlockPos is obfuscated as type "et" in the IBuilderProcess build API call? (see snippet of decompiled file in IDE below)

IBuilder

commented

was it something I said? :)

commented

user error. use mcp mapped jar