blob: 71f1b570bdd45fab71081210cbdf3a25ad9b5af6 [file] [log] [blame] [raw]
package net.darkhax.tesla.api;
public interface ITeslaProducer {
/**
* Requests an amount of power from the Tesla Producer.
*
* @param power The amount of power to request.
* @param simulated Whether or not this is being called as part of a simulation.
* Simulations are used to get information without affecting the Tesla Producer.
* @return The amount of power that the Tesla Producer will give.
*/
long takePower (long power, boolean simulated);
}