Baritone Forge version not working in development environment
funnyrick01 opened this issue ยท 12 comments
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:
But it does not work when typing a command or trying to acces it's api.
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.
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.
Idk why this is still opened, this works just fine in a dev env. These instructions from here work just fine for me
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?