Class FailedCraftingRecipeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.cyclops.integratedcrafting.api.crafting.FailedCraftingRecipeException
- All Implemented Interfaces:
Serializable
An exception for when a crafting recipe could not be crafted due to failing sub-dependencies.
The missing child recipes will only be non-null iff the collectMissingRecipes flag
was enabled when calculating crafting jobs.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionFailedCraftingRecipeException(org.cyclops.commoncapabilities.api.capability.recipehandler.IRecipeDefinition recipe, long quantityMissing, List<UnknownCraftingRecipeException> missingChildRecipes, org.cyclops.commoncapabilities.api.ingredient.IMixedIngredients ingredientsStorage, List<CraftingJob> partialCraftingJobs) -
Method Summary
Modifier and TypeMethodDescriptionbooleanorg.cyclops.commoncapabilities.api.ingredient.IMixedIngredientslongorg.cyclops.commoncapabilities.api.capability.recipehandler.IRecipeDefinitionMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
FailedCraftingRecipeException
public FailedCraftingRecipeException(org.cyclops.commoncapabilities.api.capability.recipehandler.IRecipeDefinition recipe, long quantityMissing, List<UnknownCraftingRecipeException> missingChildRecipes, org.cyclops.commoncapabilities.api.ingredient.IMixedIngredients ingredientsStorage, List<CraftingJob> partialCraftingJobs)
-
-
Method Details
-
getRecipe
public org.cyclops.commoncapabilities.api.capability.recipehandler.IRecipeDefinition getRecipe() -
getQuantityMissing
public long getQuantityMissing() -
getMissingChildRecipes
-
getIngredientsStorage
public org.cyclops.commoncapabilities.api.ingredient.IMixedIngredients getIngredientsStorage() -
getPartialCraftingJobs
-
getMessage
- Overrides:
getMessagein classThrowable
-
equals
-