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

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;
    }
}