package reborncore.mixin.implementations.asmInjector;

import org.apache.logging.log4j.LogManager;
import reborncore.mixin.MixinManager;
import reborncore.mixin.implementations.prebaker.MixinPrebaker;

/**
 * Used by asm injector to load mixins into a jar at build time
 */
public class ASMInjectorSetupClass {

	public static void main(){
		MixinManager.logger = LogManager.getLogger();
		MixinManager.logger.info("Loading mixin manager");
		MixinManager.logger.info("Using dummy remapper");
		MixinManager.mixinRemaper = new MixinPrebaker.DummyRemapper();
		MixinManager.load();
	}

}

@@ -48,16 +48,50 @@
 ector;%0A%0A
+import javassist.LoaderClassPath;%0A
 import o
@@ -227,16 +227,70 @@
 rebaker;
+%0Aimport reborncore.mixin.transformer.MixinTransformer;
 %0A%0A/**%0A *
@@ -635,24 +635,130 @@
 Remapper();%0A
+%09%09MixinTransformer.cp.appendClassPath(new LoaderClassPath(ASMInjectorSetupClass.class.getClassLoader()));%0A
 %09%09MixinManag

Add class path to asm injector