Split RF into RF Tiles and RF Items, should fix some crashes.
This commit is contained in:
parent
8ffc032f07
commit
9191d8d29e
3 changed files with 32 additions and 2 deletions
27
integration/modules/RFItem.java
Normal file
27
integration/modules/RFItem.java
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
package appeng.integration.modules;
|
||||||
|
|
||||||
|
import appeng.integration.BaseModule;
|
||||||
|
import appeng.integration.IIntegrationModule;
|
||||||
|
|
||||||
|
public class RFItem extends BaseModule implements IIntegrationModule
|
||||||
|
{
|
||||||
|
|
||||||
|
public static RFItem instance;
|
||||||
|
|
||||||
|
public RFItem() {
|
||||||
|
TestClass( cofh.api.energy.IEnergyContainerItem.class );
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void Init()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void PostInit()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
|
@ -5,7 +5,7 @@ import appeng.api.config.PowerUnits;
|
||||||
import appeng.transformer.annotations.integration.Interface;
|
import appeng.transformer.annotations.integration.Interface;
|
||||||
import cofh.api.energy.IEnergyContainerItem;
|
import cofh.api.energy.IEnergyContainerItem;
|
||||||
|
|
||||||
@Interface(iface = "cofh.api.energy.IEnergyContainerItem", iname = "RF")
|
@Interface(iface = "cofh.api.energy.IEnergyContainerItem", iname = "RFItem")
|
||||||
public class RedstoneFlux extends IC2 implements IEnergyContainerItem
|
public class RedstoneFlux extends IC2 implements IEnergyContainerItem
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
|
@ -37,7 +37,10 @@ public class ASMIntegration implements IClassTransformer
|
||||||
integrationModules.add( IntegrationSide.BOTH, "BuildCraft", "BuildCraft|Silicon", "BC" );
|
integrationModules.add( IntegrationSide.BOTH, "BuildCraft", "BuildCraft|Silicon", "BC" );
|
||||||
integrationModules.add( IntegrationSide.BOTH, "BuildCraft5 Power", null, "MJ5" );
|
integrationModules.add( IntegrationSide.BOTH, "BuildCraft5 Power", null, "MJ5" );
|
||||||
integrationModules.add( IntegrationSide.BOTH, "BuildCraft6 Power", null, "MJ6" );
|
integrationModules.add( IntegrationSide.BOTH, "BuildCraft6 Power", null, "MJ6" );
|
||||||
integrationModules.add( IntegrationSide.BOTH, "RedstoneFlux Power", null, "RF" );
|
|
||||||
|
integrationModules.add( IntegrationSide.BOTH, "RedstoneFlux Power - Tiles", null, "RF" );
|
||||||
|
integrationModules.add( IntegrationSide.BOTH, "RedstoneFlux Power - Items", null, "RFItem" );
|
||||||
|
|
||||||
// integrationModules.add( IntegrationSide.BOTH, "Greg Tech", "gregtech_addon", "GT" );
|
// integrationModules.add( IntegrationSide.BOTH, "Greg Tech", "gregtech_addon", "GT" );
|
||||||
// integrationModules.add( IntegrationSide.BOTH, "Universal Electricity", null, "UE" );
|
// integrationModules.add( IntegrationSide.BOTH, "Universal Electricity", null, "UE" );
|
||||||
// integrationModules.add( IntegrationSide.BOTH, "Logistics Pipes", "LogisticsPipes|Main", "LP" );
|
// integrationModules.add( IntegrationSide.BOTH, "Logistics Pipes", "LogisticsPipes|Main", "LP" );
|
||||||
|
|
Loading…
Reference in a new issue