17 lines
469 B
Java
17 lines
469 B
Java
package universalelectricity.core.block;
|
|
|
|
public interface IConductor extends INetworkProvider, INetworkConnection
|
|
{
|
|
/**
|
|
* Gets the resistance of the conductor. Used to calculate energy loss. A higher resistance
|
|
* means a higher energy loss.
|
|
*
|
|
* @return The amount of resistance in Ohms.
|
|
*/
|
|
public float getResistance();
|
|
|
|
/**
|
|
* @return The maximum amount of amps this conductor can handle before melting down.
|
|
*/
|
|
public float getCurrentCapacity();
|
|
}
|