001 package net.minecraft.item.crafting;
002
003 import net.minecraft.inventory.InventoryCrafting;
004 import net.minecraft.item.ItemStack;
005 import net.minecraft.world.World;
006
007 public interface IRecipe
008 {
009 /**
010 * Used to check if a recipe matches current crafting inventory
011 */
012 boolean matches(InventoryCrafting var1, World var2);
013
014 /**
015 * Returns an Item that is the result of this recipe
016 */
017 ItemStack getCraftingResult(InventoryCrafting var1);
018
019 /**
020 * Returns the size of the recipe area
021 */
022 int getRecipeSize();
023
024 ItemStack getRecipeOutput();
025 }