0d8940899c
Added blank Access Transformer config for Forge Implemented version storage Added basic dummy FML mod container to remove the need for mod metadata file Added beggining work on Forge event system Updated and moved EnumHelper
40 lines
868 B
Java
40 lines
868 B
Java
package net.minecraftforge.classloading;
|
|
|
|
import java.util.Map;
|
|
|
|
import cpw.mods.fml.relauncher.IFMLLoadingPlugin;
|
|
|
|
public class FMLForgePlugin implements IFMLLoadingPlugin
|
|
{
|
|
@Override
|
|
public String[] getLibraryRequestClass()
|
|
{
|
|
return null;
|
|
}
|
|
|
|
@Override
|
|
public String[] getASMTransformerClass()
|
|
{
|
|
return new String[]{
|
|
"net.minecraftforge.transformers.ForgeAccessTransformer",
|
|
"net.minecraftforge.transformers.EventTransformer"
|
|
};
|
|
}
|
|
|
|
@Override
|
|
public String getModContainerClass()
|
|
{
|
|
return "net.minecraftforge.common.ForgeDummyContainer";
|
|
}
|
|
|
|
@Override
|
|
public String getSetupClass()
|
|
{
|
|
return null;
|
|
}
|
|
|
|
@Override
|
|
public void injectData(Map<String, Object> data)
|
|
{
|
|
}
|
|
}
|