    001package net.minecraftforge.classloading;
    002
    003import java.util.Map;
    004
    005import cpw.mods.fml.relauncher.IFMLLoadingPlugin;
    006
    007public class FMLForgePlugin implements IFMLLoadingPlugin
    008{
    009    public static boolean RUNTIME_DEOBF = false;
    010
    011    @Override
    012    public String[] getLibraryRequestClass()
    013    {
    014        return null;
    015    }
    016
    017    @Override
    018    public String[] getASMTransformerClass()
    019    {
    020        return new String[]{
    021                                "net.minecraftforge.transformers.ForgeAccessTransformer",
    022                                "net.minecraftforge.transformers.EventTransformer"
    023                           };
    024    }
    025
    026    @Override
    027    public String getModContainerClass()
    028    {
    029        return "net.minecraftforge.common.ForgeDummyContainer";
    030    }
    031
    032    @Override
    033    public String getSetupClass()
    034    {
    035        return null;
    036    }
    037
    038    @Override
    039    public void injectData(Map<String, Object> data)
    040    {
    041        RUNTIME_DEOBF = (Boolean)data.get("runtimeDeobfuscationEnabled");
    042    }
    043}