BiomesOPlenty/common/biomesoplenty/asm/BOPFMLLoadingPlugin.java

50 lines
1,004 B
Java
Raw Normal View History

package biomesoplenty.asm;
import java.io.File;
import java.util.Map;
import codechicken.core.launch.DepLoader;
import cpw.mods.fml.relauncher.IFMLLoadingPlugin;
2013-10-19 01:45:44 +00:00
import cpw.mods.fml.relauncher.IFMLLoadingPlugin.TransformerExclusions;
2013-10-19 01:45:44 +00:00
@TransformerExclusions({ "biomesoplenty.asm" })
public class BOPFMLLoadingPlugin implements IFMLLoadingPlugin
{
public BOPFMLLoadingPlugin()
{
DepLoader.load();
}
public static File location;
@Override
public String[] getLibraryRequestClass()
{
return null;
}
@Override
public String[] getASMTransformerClass()
{
2013-11-06 07:51:06 +00:00
return new String[] {BOPBiomeColourBlending.class.getName()};
}
@Override
public String getModContainerClass()
{
return null;
}
@Override
public String getSetupClass()
{
return null;
}
@Override
public void injectData(Map<String, Object> data)
{
location = (File)data.get("coremodLocation");
}
}