Class KnittingRecipe
java.lang.Object
btw.crafting.recipe.types.customcrafting.KnittingRecipe
- All Implemented Interfaces:
IdentifiableRecipe<IRecipe>,IRecipe
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCraftingResult(InventoryCrafting inventory) Returns an Item that is the result of this recipegetId()intReturns the size of the recipe areagetSecondaryOutput(IInventory inventory) booleanbooleanmatches(InventoryCrafting inventory, World world) Used to check if a recipe matches current crafting inventorybooleanMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface api.crafting.IdentifiableRecipe
setAsDefaultAfterAchievement, setAsDefaultUntilAchievement, setAsRecipeDefaultMethods inherited from interface net.minecraft.src.IRecipe
hideFromEMI
-
Constructor Details
-
KnittingRecipe
public KnittingRecipe()
-
-
Method Details
-
matches
Description copied from interface:IRecipeUsed to check if a recipe matches current crafting inventory -
getCraftingResult
Description copied from interface:IRecipeReturns an Item that is the result of this recipe- Specified by:
getCraftingResultin interfaceIRecipe
-
getRecipeSize
public int getRecipeSize()Description copied from interface:IRecipeReturns the size of the recipe area- Specified by:
getRecipeSizein interfaceIRecipe
-
getRecipeOutput
- Specified by:
getRecipeOutputin interfaceIRecipe
-
matches
-
hasSecondaryOutput
public boolean hasSecondaryOutput()- Specified by:
hasSecondaryOutputin interfaceIRecipe
-
getSecondaryOutput
- Specified by:
getSecondaryOutputin interfaceIRecipe
-
getId
- Specified by:
getIdin interfaceIdentifiableRecipe<IRecipe>
-