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