Class LogChoppingRecipe
java.lang.Object
btw.crafting.recipe.types.customcrafting.LogChoppingRecipe
- All Implemented Interfaces:
IdentifiableRecipe<IRecipe>,IRecipe
-
Constructor Summary
ConstructorsConstructorDescriptionLogChoppingRecipe(ItemStack output, ItemStack[] secondaryOutputs, ItemStack input) LogChoppingRecipe(ItemStack output, ItemStack[] secondaryOutputs, ItemStack outputLowQuality, ItemStack[] secondaryOutputsLowQuality, ItemStack input) Low quality output used for stone axes -
Method Summary
Modifier and TypeMethodDescriptiongetCraftingResult(InventoryCrafting inventory) Returns an Item that is the result of this recipebooleangetInput()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
getId, setAsDefaultAfterAchievement, setAsDefaultUntilAchievement, setAsRecipeDefaultMethods inherited from interface net.minecraft.src.IRecipe
hideFromEMI
-
Constructor Details
-
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
-
matches
-
hasSecondaryOutput
public boolean hasSecondaryOutput()- Specified by:
hasSecondaryOutputin interfaceIRecipe
-
getSecondaryOutput
- Specified by:
getSecondaryOutputin 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
-
getSecondaryOutput
-
getRecipeOutputLowQuality
-
getSecondaryOutputLowQuality
-
getHasLowQualityOutputs
public boolean getHasLowQualityOutputs() -
getInput
-