24 lines
425 B
Java
24 lines
425 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 float transfer(float transferEnergy, boolean doTransfer);
|
||
|
|
||
|
public boolean canReceive(TileEntity transferTile);
|
||
|
|
||
|
}
|