Class FailedCraftingRecipeException

java.lang.Object
java.lang.Throwable
java.lang.Exception
org.cyclops.integratedcrafting.api.crafting.FailedCraftingRecipeException
All Implemented Interfaces:
Serializable

public class FailedCraftingRecipeException extends Exception
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 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

      public List<UnknownCraftingRecipeException> getMissingChildRecipes()
    • getIngredientsStorage

      public org.cyclops.commoncapabilities.api.ingredient.IMixedIngredients getIngredientsStorage()
    • getPartialCraftingJobs

      public List<CraftingJob> getPartialCraftingJobs()
    • getMessage

      public String getMessage()
      Overrides:
      getMessage in class Throwable
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object