blob: 7c7fe0f4cd73ceeeff5ec8239b76d82da0714ade [file] [log] [blame] [raw]
Aidan Brady124d4a52013-05-28 00:29:29 -04001package ic2.api.info;
2
3import net.minecraft.item.ItemStack;
4
5public interface IFuelValueProvider {
6 /**
7 * Determine the fuel value for a single item in the supplied stack.
8 * The information currently applies to Generators and the Iron Furnace.
9 *
10 * @param itemStack ItemStack containing the item to evaluate.
11 * @param allowLava Determine if lava has a fuel value, currently only true for the Iron Furnace.
12 * @return fuel value
13 */
14 int getFuelValue(ItemStack itemStack, boolean allowLava);
15}