blob: 238467852968828fb4294d06fa0ce9028db6fb9e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
package gregtech.api.interfaces.tileentity;
import gregtech.api.enums.Materials;
/**
* Informative Class for Cables. Not used for now.
* <p/>
* 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();
}
|