2014-02-11 09:39:15 +01:00
|
|
|
package appeng.transformer;
|
|
|
|
|
|
|
|
import java.util.Map;
|
|
|
|
|
|
|
|
import appeng.core.AEConfig;
|
|
|
|
|
|
|
|
import com.google.common.eventbus.EventBus;
|
|
|
|
|
|
|
|
import cpw.mods.fml.common.DummyModContainer;
|
|
|
|
import cpw.mods.fml.common.LoadController;
|
|
|
|
import cpw.mods.fml.common.Mod.EventHandler;
|
|
|
|
import cpw.mods.fml.common.ModMetadata;
|
|
|
|
import cpw.mods.fml.common.event.FMLInitializationEvent;
|
|
|
|
import cpw.mods.fml.relauncher.FMLRelaunchLog;
|
|
|
|
import cpw.mods.fml.relauncher.IFMLLoadingPlugin;
|
|
|
|
import cpw.mods.fml.relauncher.IFMLLoadingPlugin.MCVersion;
|
|
|
|
|
2014-06-25 03:19:42 +02:00
|
|
|
@MCVersion()
|
2014-02-11 09:39:15 +01:00
|
|
|
public class AppEngCore extends DummyModContainer implements IFMLLoadingPlugin
|
|
|
|
{
|
|
|
|
|
2014-04-06 08:55:24 +02:00
|
|
|
public final AppEngCore instance;
|
2014-02-11 09:39:15 +01:00
|
|
|
|
2014-04-06 08:55:24 +02:00
|
|
|
protected final ModMetadata md = new ModMetadata();
|
2014-02-11 09:39:15 +01:00
|
|
|
|
|
|
|
public AppEngCore() {
|
2014-04-06 08:55:24 +02:00
|
|
|
instance = this;
|
2014-02-11 09:39:15 +01:00
|
|
|
FMLRelaunchLog.info( "[AppEng] Core Init" );
|
2014-08-09 04:41:43 +02:00
|
|
|
md.autogenerated = false;
|
|
|
|
md.authorList.add( "AlgorithmX2" );
|
2014-02-11 09:39:15 +01:00
|
|
|
md.credits = "AlgorithmX2";
|
|
|
|
md.modId = getModId();
|
|
|
|
md.version = getVersion();
|
|
|
|
md.name = getName();
|
2014-08-09 04:41:43 +02:00
|
|
|
md.url = "http://ae2.ae-mod.info";
|
2014-09-20 23:41:18 +02:00
|
|
|
md.description = "Embedded Coremod for Applied Energistics 2";
|
2014-02-11 09:39:15 +01:00
|
|
|
}
|
|
|
|
|
2014-04-06 08:55:24 +02:00
|
|
|
@EventHandler
|
|
|
|
public void load(FMLInitializationEvent event)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2014-02-11 09:39:15 +01:00
|
|
|
@Override
|
|
|
|
public boolean registerBus(EventBus bus, LoadController controller)
|
|
|
|
{
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public String[] getASMTransformerClass()
|
|
|
|
{
|
2014-05-20 16:38:29 +02:00
|
|
|
return new String[] { "appeng.transformer.asm.ASMIntegration" };
|
2014-02-11 09:39:15 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public String getModContainerClass()
|
|
|
|
{
|
|
|
|
return "appeng.transformer.AppEngCore";
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public String getSetupClass()
|
|
|
|
{
|
|
|
|
return null;
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public void injectData(Map<String, Object> data)
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public String getModId()
|
|
|
|
{
|
2014-07-25 06:59:58 +02:00
|
|
|
return "appliedenergistics2-core";
|
2014-02-11 09:39:15 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public String getName()
|
|
|
|
{
|
|
|
|
return "AppliedEnergistics2 Core";
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public String getVersion()
|
|
|
|
{
|
|
|
|
return AEConfig.VERSION;
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public String getDisplayVersion()
|
|
|
|
{
|
|
|
|
return getVersion();
|
|
|
|
}
|
|
|
|
|
|
|
|
public ModMetadata getMetadata()
|
|
|
|
{
|
|
|
|
return md;
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public String getAccessTransformerClass()
|
|
|
|
{
|
2014-04-06 08:55:24 +02:00
|
|
|
return "appeng.transformer.asm.ASMTweaker";
|
2014-02-11 09:39:15 +01:00
|
|
|
}
|
|
|
|
}
|