2014-02-16 19:41:45 +01:00
|
|
|
package appeng.integration.modules;
|
2014-02-15 07:40:02 +01:00
|
|
|
|
2014-02-18 18:43:02 +01:00
|
|
|
import appeng.integration.BaseModule;
|
2014-05-10 04:08:56 +02:00
|
|
|
import appeng.integration.abstraction.IMJ5;
|
2014-02-16 19:41:45 +01:00
|
|
|
import appeng.integration.modules.helpers.MJPerdition;
|
2014-02-15 07:40:02 +01:00
|
|
|
import buildcraft.api.power.IPowerReceptor;
|
|
|
|
|
2014-05-10 04:08:56 +02:00
|
|
|
public class MJ5 extends BaseModule implements IMJ5
|
2014-02-15 07:40:02 +01:00
|
|
|
{
|
|
|
|
|
2014-05-10 04:08:56 +02:00
|
|
|
public static MJ5 instance;
|
2014-02-15 07:40:02 +01:00
|
|
|
|
2014-05-10 04:08:56 +02:00
|
|
|
public MJ5() {
|
2014-04-06 08:55:24 +02:00
|
|
|
TestClass( IPowerReceptor.class );
|
|
|
|
}
|
|
|
|
|
2014-02-15 07:40:02 +01:00
|
|
|
@Override
|
2014-05-11 23:13:37 +02:00
|
|
|
public Object createPerdition(Object buildCraft)
|
2014-02-15 07:40:02 +01:00
|
|
|
{
|
|
|
|
if ( buildCraft instanceof IPowerReceptor )
|
2014-05-11 23:13:37 +02:00
|
|
|
return new MJPerdition( (IPowerReceptor) buildCraft );
|
2014-02-15 07:40:02 +01:00
|
|
|
return null;
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public void Init() throws Throwable
|
|
|
|
{
|
2014-05-11 23:13:37 +02:00
|
|
|
|
2014-02-15 07:40:02 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public void PostInit() throws Throwable
|
|
|
|
{
|
2014-05-11 23:13:37 +02:00
|
|
|
|
2014-02-15 07:40:02 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|