Aidan Brady | 124d4a5 | 2013-05-28 00:29:29 -0400 | [diff] [blame] | 1 | package ic2.api.info; |
| 2 | |
| 3 | import net.minecraft.item.ItemStack; |
| 4 | |
| 5 | public 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 | } |