Applied-Energistics-2-tiler.../integration/modules/helpers/NullRFHandler.java

40 lines
667 B
Java
Raw Normal View History

package appeng.integration.modules.helpers;
2014-05-09 16:42:52 +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;
}
@Override
2014-05-09 16:42:52 +02:00
public boolean canConnectEnergy(ForgeDirection from)
{
return true;
}
}