/******************************************************************************* * AbyssalCraft * Copyright (c) 2012 - 2017 Shinoow. * All rights reserved. This program and the accompanying materials * are made available under the terms of the GNU Lesser Public License v3 * which accompanies this distribution, and is available at * http://www.gnu.org/licenses/lgpl-3.0.txt * * Contributors: * Shinoow - implementation ******************************************************************************/ package com.shinoow.abyssalcraft.common.handlers; import net.minecraft.item.ItemStack; import net.minecraftforge.fml.common.IFuelHandler; import com.shinoow.abyssalcraft.api.item.ACItems; public class FurnaceFuelHandler implements IFuelHandler { @Override public int getBurnTime(ItemStack fuel) { if(fuel.getItem() == ACItems.methane) return 10000; return 0; } }