GT5-Unofficial/main/java/gregtech/api/interfaces/tileentity/IEnergyConductor.java
2015-04-23 18:14:22 +02:00

40 lines
No EOL
930 B
Java

package gregtech.api.interfaces.tileentity;
import gregtech.api.enums.Materials;
/**
* Informative Class for Cables. Not used for now.
*
* Not all Data might be reliable. This is just for Information sake.
*/
public interface IEnergyConductor extends IEnergyConnected {
/**
* @return if this is actually a Cable. (you must check this)
*/
public boolean isConductor();
/**
* @return the maximum Voltage of the Cable.
*/
public long getMaxVoltage();
/**
* @return the maximum Amperage of the Cable, per Wire.
*/
public long getMaxAmperage();
/**
* @return the Loss of the Cable, per Meter.
*/
public long getLossPerMeter();
/**
* @return the Material the Cable consists of. (may return Materials._NULL)
*/
public Materials getCableMaterial();
/**
* @return the Material the Cable Insulation consists of. (may return Materials._NULL)
*/
public Materials getInsulationMaterial();
}