package mezz.jei.plugins.vanilla.furnace;

import javax.annotation.Nonnull;
import javax.annotation.Nullable;
import java.awt.Color;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.List;

import net.minecraft.client.Minecraft;
import net.minecraft.item.ItemStack;

import mezz.jei.plugins.vanilla.VanillaRecipeWrapper;
import mezz.jei.util.Translator;

public class FuelRecipe extends VanillaRecipeWrapper {
	@Nonnull
	private final List<ItemStack> input;
	@Nullable
	private final String burnTimeString;

	public FuelRecipe(@Nonnull Collection<ItemStack> input, int burnTime) {
		this.input = new ArrayList<>(input);
		this.burnTimeString = Translator.translateToLocalFormatted("gui.jei.furnaceBurnTime", burnTime);
	}

	@Nonnull
	@Override
	public List<ItemStack> getInputs() {
		return input;
	}

	@Nonnull
	@Override
	public List<ItemStack> getOutputs() {
		return Collections.emptyList();
	}

	@Override
	public void drawInfo(@Nonnull Minecraft minecraft, int recipeWidth, int recipeHeight) {
		minecraft.fontRendererObj.drawString(burnTimeString, 24, 12, Color.gray.getRGB());
	}
}

@@ -500,16 +500,21 @@
 e final 
+List%3C
 List%3CIte
@@ -524,27 +524,28 @@
 ack%3E
+%3E
  input
+s
 ;%0D%0A%09@N
+onn
 ull
-able
 %0D%0A%09p
@@ -669,19 +669,46 @@
 is.input
+s
  = 
+Collections.singletonList(
 new Arra
@@ -721,16 +721,17 @@
 %3E(input)
+)
 ;%0D%0A%09%09thi
@@ -854,32 +854,37 @@
 erride%0D%0A%09public 
+List%3C
 List%3CItemStack%3E 
@@ -878,24 +878,25 @@
 t%3CItemStack%3E
+%3E
  getInputs()
@@ -913,16 +913,17 @@
 rn input
+s
 ;%0D%0A%09%7D%0D%0A%0D

Fix fuel recipe transfer helper