-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
can't run baritone with :fabric:runClient
with litematica in run/client/mods
due to conflict between mojmap and malilib method names
#4375
Comments
So if I build the baritone mod and run them in a vanilla minecraft deploy, I don't see this error. This seems to occur purely in a dev environment. this issue appears to be the same one: There is a similar issue here : #4325 with some suggestions, but it's not clear how to implement them if you are not familiar with unimined gradle plugin It seems like this might be some way to work around the problem: |
@tolland it seems like @wagyourtail answered your question in unimined/unimined#74 and fixing name clashes of litematica/malilib with mojmap isn't really in scope for Baritone so I think this issue can be closed? |
I'm not sure its completely out of scope, as baritone integrates with litematica (which depends on malilib) via schematic building... and there are a bunch of bugs in the litematica code which are very hard to fix unless you can build baritone together with litematica in intellij |
It seems a like a good place to start, but I am unfamiliar with the mappings bit and also with the unimined plugin, so I've not managed to get that working despite some attempts based on the docs provided |
Putting this at the bottom of the
I wouldn't expect to have to use notch names for this, but trying |
That's total magic to me. But it does seem to work. Thanks! |
Ah ok, it seems that getCursorPosition needs to be fixed as well
|
Maybe try this one:
I made sure it compiles, but didn't test whether it fixes the problem. |
I tried that one. It crashes out with an exception... masa has released a version of malilib and litematica that don't need those methods, so it avoids the crash when running baritone+litematica+malilib, so I think there is a usable work-around. |
I tried actually running the game now and after fixing |
Some information
Operating system:
Java version: 17.0.11
Minecraft version: 1.20.4
Baritone version: 1.10.2
Other mods (if used): litematica and malilib
Exception, error or logs
Please find your
latest.log
ordebug.log
in this folder and attach it to the issueminecraft.log
How to reproduce
fabric/run/client/mods
directoryMinecraft will run, and baritone is working. however it will crash when litematica menus are interacted with, due to conflict between mojmap methods.
Final checklist
The text was updated successfully, but these errors were encountered: