This is likely a support or documentation request, but I was hoping I could get some pointers on how to proceed.
I am currently looking at an issue with baritones' support for building litematica schematics with multiple subregions, hence I am working from a baritone branch into which I have bumped some versions and I have dropped litematica and malilib jars in the fabric/run/client/mods directory.
With this branch I can build baritone jar and use that jar in a fabric minecraft (with litematica/malilib). however if I try to run the branch from intelllij, or use the gradle :fabric:runClient task the client crashes with a stackoverflow relating to a conflicting method name between mojmap and malilib. This obviously makes further development on that a big PITA ;-)
The error manifests like so:
Caused by: java.lang.StackOverflowError
at com.mojang.blaze3d.platform.InputConstants.isKeyDown(InputConstants.java:473) ~[minecraft-1.20.4-fabric-merged+fixed-mojmap+intermediary.jar:?]
at net.minecraft.client.gui.screens.Screen.hasShiftDown(Screen.java:377) ~[minecraft-1.20.4-fabric-merged+fixed-mojmap+intermediary.jar:?]
at fi.dy.masa.malilib.gui.GuiBase.isShiftDown(GuiBase.java:675) ~[malilib-0.18.0-64b5720b4b825f21.jar:?]
at fi.dy.masa.malilib.gui.GuiTextFieldGeneric.setCursorPosition(GuiTextFieldGeneric.java:93) ~[malilib-0.18.0-64b5720b4b825f21.jar:?]
at net.minecraft.client.gui.components.EditBox.moveCursorTo(EditBox.java:256) ~[minecraft-1.20.4-fabric-merged+fixed-mojmap+intermediary.jar:?]
The suggestion from the malilib discord is that I should remap the methods from baritone, which is using unimined gradle plugin. However for the life of me, I can't work out how to do that from the various issues I have looked at, or the documentation.
I guess that I am looking to implement this:

Related issues:
This is likely a support or documentation request, but I was hoping I could get some pointers on how to proceed.
I am currently looking at an issue with baritones' support for building litematica schematics with multiple subregions, hence I am working from a baritone branch into which I have bumped some versions and I have dropped litematica and malilib jars in the
fabric/run/client/modsdirectory.With this branch I can build baritone jar and use that jar in a fabric minecraft (with litematica/malilib). however if I try to run the branch from intelllij, or use the gradle
:fabric:runClienttask the client crashes with a stackoverflow relating to a conflicting method name between mojmap and malilib. This obviously makes further development on that a big PITA ;-)The error manifests like so:
The suggestion from the malilib discord is that I should remap the methods from baritone, which is using unimined gradle plugin. However for the life of me, I can't work out how to do that from the various issues I have looked at, or the documentation.
I guess that I am looking to implement this:

Related issues:
:fabric:runClientwith litematica inrun/client/modsdue to conflict between mojmap and malilib method names cabaletta/baritone#4375runClienttask cabaletta/baritone#4325