2014-05-02 07:00:14 +02:00
|
|
|
package appeng.integration.modules.helpers;
|
2014-05-09 16:42:52 +02:00
|
|
|
|
2014-05-02 07:00:14 +02:00
|
|
|
import net.minecraftforge.common.util.ForgeDirection;
|
|
|
|
import cofh.api.energy.IEnergyHandler;
|
|
|
|
|
|
|
|
public class NullRFHandler implements IEnergyHandler
|
|
|
|
{
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public int receiveEnergy(ForgeDirection from, int maxReceive, boolean simulate)
|
|
|
|
{
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public int extractEnergy(ForgeDirection from, int maxExtract, boolean simulate)
|
|
|
|
{
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public int getEnergyStored(ForgeDirection from)
|
|
|
|
{
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public int getMaxEnergyStored(ForgeDirection from)
|
|
|
|
{
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
2014-05-07 01:09:31 +02:00
|
|
|
@Override
|
2014-05-09 16:42:52 +02:00
|
|
|
public boolean canConnectEnergy(ForgeDirection from)
|
|
|
|
{
|
2014-05-07 01:09:31 +02:00
|
|
|
return true;
|
|
|
|
}
|
|
|
|
|
2014-05-02 07:00:14 +02:00
|
|
|
}
|