Mekanism-tilera-Edition/common/ic2/api/info/IEnergyValueProvider.java
2013-06-28 18:01:00 -04:00

14 lines
383 B
Java

package ic2.api.info;
import net.minecraft.item.ItemStack;
public interface IEnergyValueProvider {
/**
* Determine the energy value for a single item in the supplied stack.
* The value is used by most machines in the discharge slot.
*
* @param itemStack ItemStack containing the item to evaluate.
* @return energy in EU
*/
int getEnergyValue(ItemStack itemStack);
}