Baritone AI pathfinder

Baritone AI pathfinder

72.7k Downloads

Baritone Forge version not working in development environment

funnyrick01 opened this issue ยท 12 comments

commented

What do you need help with?

Alright so, what i trying get working is simply Baritone as a forge mod in a development environment (in Intellij).
for convenience sake i've put the "baritone-api-forge-1.5.3.jar" in the libs folder in my project and within the build.gradle i compile it along with compile fileTree(dir: 'libs', include: ['*.jar'])
Baritone does get loaded in according to Forge:
image
But it does not work when typing a command or trying to acces it's api.
image

Stacktrace:
at baritone.api.Settings.(Settings.java:160)
Caused by: java.lang.NoSuchFieldError: field_150346_d
at baritone.api.BaritoneAPI.(BaritoneAPI.java:34)
at com.example.examplemod.ChatListener.onSendChatMessage(ChatListener.java:21)

I asume this is because baritone expects the environment to be obfuscated while a dev environment is not? (It works fine in a production env.)
How do i fix this? I've been stuck on this small problem for way to long now...

Version

minecraft: 1.15
Baritone: api forge 1.5.3

How to reproduce

Install the forge MDK version 1.15.2 - 31.1.0.
Add baritone-api-forge-1.5.3.jar as a dependency.
Run the client and watch it load in but not work.

Final checklist

  • I know how to properly use check boxes
  • I have not used any OwO's or UwU's in this issue.
commented

I just set up a production enviroment and used a symbolic link to the build result.
To use it I just build my code and relaunch the game.

commented

Idk why this is still opened, this works just fine in a dev env. These instructions from here work just fine for me

dominikaaaa org-2020-07-11-16-24-50

commented

Please read it.

commented

my apologies, i forgot to state that i also included the "MinxinBootstrap-1.0.2.jar" as a dependency.
image

commented

You need to use forge 31.1.0 and nothing higher.

commented

You're using 31.1.10 right now

commented

I am using 31.1.0? as clearly shown in the screenshot above
image

commented

Oh it appears I misread your issue. My bad

commented

I got the exact same issue. Baritone forge is working fine when put in "\Roaming.minecraft\mods" but in my IDE it doesn't wanne work. Any solution found for this?

commented

Same issue here. Found a solution yet?

commented

Same issue here. Found a solution yet?

No, kinda gave up on using Baritone for now. I've spend way more time on trying to get it to work then i should have. Still hope someone else can come with an awnser tho