39 lines
667 B
Java
39 lines
667 B
Java
package appeng.integration.modules.helpers;
|
|
|
|
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
|
|
public boolean canConnectEnergy(ForgeDirection from)
|
|
{
|
|
return true;
|
|
}
|
|
|
|
}
|