package darkevilmac.movingworld.common.asm.coremod;

import net.minecraftforge.fml.relauncher.IFMLLoadingPlugin;
import org.spongepowered.asm.launch.MixinBootstrap;
import org.spongepowered.asm.mixin.MixinEnvironment;

import java.util.Map;

@IFMLLoadingPlugin.MCVersion(value = "1.8.9")
public class MovingWorldCoreMod implements IFMLLoadingPlugin {

    public MovingWorldCoreMod() {
        MixinBootstrap.init();
        MixinEnvironment.setCompatibilityLevel(MixinEnvironment.CompatibilityLevel.JAVA_7);
        MixinEnvironment env = MixinEnvironment.getDefaultEnvironment();
        env.addConfiguration("mixins.movingworld.json");
    }

    @Override
    public String[] getASMTransformerClass() {
        return null;
    }

    @Override
    public String getModContainerClass() {
        return "darkevilmac.movingworld.common.asm.coremod.MovingWorldModContainer";
    }

    @Override
    public String getSetupClass() {
        return null;
    }

    @Override
    public void injectData(Map<String, Object> data) {
    }

    @Override
    public String getAccessTransformerClass() {
        return MovingWorldAccessTransformer.class.getName();
    }

}

@@ -1108,16 +1108,60 @@
  return 
+%22darkevilmac.movingworld.common.asm.coremod.
 MovingWo
@@ -1184,24 +1184,9 @@
 rmer
-.class.getName()
+%22
 ;%0A  

Use string FQN in coremod. Fixes #21 part 2