Mekanism-tilera-Edition/common/mekanism/api/induction/ITesla.java
2013-11-22 19:32:06 -05:00

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);
}