aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/tectech/mechanics/tesla/ITeslaConnectableSimple.java
blob: 8cbbd75ca06b27821dbd71b079682cd03b89263a (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
package tectech.mechanics.tesla;

import com.gtnewhorizon.structurelib.util.Vec3Impl;

public interface ITeslaConnectableSimple {

    // -128 to -1 disables capability
    // 0 means any source or target
    // 1 to 127 must match on source and target or source/target must be 0
    byte getTeslaReceptionCapability();

    // Reception Coefficient is a range extension, typical is 1
    float getTeslaReceptionCoefficient();

    boolean isTeslaReadyToReceive();

    long getTeslaStoredEnergy();

    boolean teslaInjectEnergy(long teslaVoltageInjected);

    Vec3Impl getTeslaPosition();

    Integer getTeslaDimension();
}