Package net.minecraft.src
Interface IRecipe
- All Superinterfaces:
IdentifiableRecipe<IRecipe>
- All Known Implementing Classes:
ConditionalRecipe,FishingRodBaitingRecipe,KnittingRecipe,LogChoppingRecipe,RecipeFireworks,RecipesArmorDyes,RecipesMapCloning,RecipesMapExtending,ShapedRecipes,ShapelessRecipes,WoolArmorRecipe,WoolBlockRecipe
-
Method Summary
Modifier and TypeMethodDescriptionReturns an Item that is the result of this recipeintReturns the size of the recipe areagetSecondaryOutput(IInventory inventory) booleandefault IRecipebooleanmatches(InventoryCrafting var1, World var2) Used to check if a recipe matches current crafting inventorybooleanMethods inherited from interface api.crafting.IdentifiableRecipe
getId, setAsDefaultAfterAchievement, setAsDefaultUntilAchievement, setAsRecipeDefault
-
Method Details
-
matches
Used to check if a recipe matches current crafting inventory -
getCraftingResult
Returns an Item that is the result of this recipe -
getRecipeSize
int getRecipeSize()Returns the size of the recipe area -
getRecipeOutput
ItemStack getRecipeOutput() -
matches
-
hasSecondaryOutput
boolean hasSecondaryOutput() -
getSecondaryOutput
-
hideFromEMI
-