ForgeMultipart
ForgeMultipart copied to clipboard
Repated class transformer invocation
FMP runs transformers once more from there: https://github.com/Chicken-Bones/ForgeMultipart/blob/master/src/codechicken/multipart/asm/ASMMixinCompiler.scala#L90
The class loader prevents multiple invocations, thus FMP imposes stricter requirements on IClassTransformer implementations, which are of course not always met.
Any suggestions?
Why are you invoking them in the first place? For me the obvious thing to do would be running yours as the very first.
And hand them my class to transform?
When your transformer is being called for class x merge the required changes/additions into x, return the modified x to let the class loader the next transformer continue. As I said I don't know why you are manually running transformers, but I'm also not familiar with the architecture. If you only do it on the mixin classes bypassing the class loader, you probably just want a "cache" for the multi-use ones.