Applied-Energistics-2-tiler.../src/api/java/Reika/RotaryCraft/API/PowerGenerator.java
thatsIch 54802be11f Moved API
Added temporary(!) API dependencies, will resolved via Maven later on
Added mcmod.info
Added pack.mcmeta template
Added hacked BC jar to use facades indev
Split build logic into several pieces
Update gitignore
Modify build.gradle to match changes
2014-09-26 16:14:45 +02:00

27 lines
797 B
Java

/*******************************************************************************
* @author Reika Kalseki
*
* Copyright 2014
*
* All rights reserved.
* Distribution of the software in any form is only allowed with
* explicit, prior permission from the owner.
******************************************************************************/
package Reika.RotaryCraft.API;
/** Implement this if your TE "spawns" power */
public interface PowerGenerator {
/** The maximum amount of power your machine can ever generate, in watts.
* If there is no cap, use Long.MAX_VALUE. */
public long getMaxPower();
/** The current power your machine is producing, in watts. */
public long getCurrentPower();
public int getEmittingX();
public int getEmittingY();
public int getEmittingZ();
}