2013-11-16 16:21:37 +01:00
|
|
|
/**
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
package mekanism.api.induction;
|
|
|
|
|
|
|
|
import net.minecraft.tileentity.TileEntity;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @author Calclavia
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
public interface ITesla
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* @param transferEnergy - The energy amount in kilojoules.
|
|
|
|
* @param doTransfer - Actually transfer
|
|
|
|
* @return Energy actually transfered.
|
|
|
|
*/
|
2013-11-23 01:32:06 +01:00
|
|
|
public double transfer(double transferEnergy, boolean doTransfer);
|
2013-11-16 16:21:37 +01:00
|
|
|
|
|
|
|
public boolean canReceive(TileEntity transferTile);
|
|
|
|
|
|
|
|
}
|