aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/api/interfaces/tileentity/IWirelessEnergyHatchInformation.java
blob: fb6492d894f033cf6023b6fcaf094cf6c4828c2c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package gregtech.api.interfaces.tileentity;

import static gregtech.api.enums.GT_Values.V;

public interface IWirelessEnergyHatchInformation {

    // This interface is solely for usage by wireless hatches/dynamos.

    // Ticks between energy additions to the hatch. For a dynamo this is how many ticks between energy being consumed
    // and added to the global energy map.
    long ticks_between_energy_addition = 100L * 20L;

    // Total number of energy additions this multi can store before it is full.
    long number_of_energy_additions = 4L;

    default long totalStorage(long tier_eu_per_tick) {
        return tier_eu_per_tick * ticks_between_energy_addition * number_of_energy_additions;
    }
}