resonant-induction/archive/java/resonantinduction/core/debug/TileEntityInfLoad.java
2014-01-11 17:44:07 +08:00

32 lines
618 B
Java

package resonantinduction.core.debug;
import net.minecraftforge.common.ForgeDirection;
import resonantinduction.core.prefab.tile.TileEntityEnergyMachine;
public class TileEntityInfLoad extends TileEntityEnergyMachine
{
@Override
public long onReceiveEnergy(ForgeDirection from, long receive, boolean doReceive)
{
return receive;
}
@Override
public long onExtractEnergy(ForgeDirection from, long request, boolean doExtract)
{
return 0;
}
@Override
public boolean canConnect(ForgeDirection direction)
{
return true;
}
@Override
public long getMaxEnergyStored()
{
return Long.MAX_VALUE;
}
}