23 lines
427 B
Java
23 lines
427 B
Java
/**
|
|
*
|
|
*/
|
|
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.
|
|
*/
|
|
public double transfer(double transferEnergy, boolean doTransfer);
|
|
|
|
public boolean canReceive(TileEntity transferTile);
|
|
|
|
}
|