Mekanism-tilera-Edition/common/mekanism/api/induction/ITesla.java

24 lines
427 B
Java
Raw Normal View History

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