Applied-Energistics-2-tiler.../integration/modules/MJ.java

37 lines
802 B
Java
Raw Normal View History

package appeng.integration.modules;
2014-02-18 18:43:02 +01:00
import appeng.integration.BaseModule;
import appeng.integration.IIntegrationModule;
import appeng.integration.abstraction.IMJ;
import appeng.integration.abstraction.helpers.BaseMJperdition;
import appeng.integration.modules.helpers.MJPerdition;
import appeng.tile.powersink.BuildCraft;
import buildcraft.api.power.IPowerReceptor;
2014-02-18 18:43:02 +01:00
public class MJ extends BaseModule implements IIntegrationModule, IMJ
{
public static MJ instance;
@Override
public BaseMJperdition createPerdition(BuildCraft buildCraft)
{
if ( buildCraft instanceof IPowerReceptor )
return new MJPerdition( buildCraft );
return null;
}
@Override
public void Init() throws Throwable
{
2014-02-18 18:43:02 +01:00
TestClass(MJPerdition.class);
}
@Override
public void PostInit() throws Throwable
{
}
}