Class UnknownCraftingRecipeException

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

public class UnknownCraftingRecipeException extends Exception
An exception for when a crafting recipe for the given instance is unavailable. The missing child recipes will only be non-null iff the collectMissingRecipes flag was enabled when calculating crafting jobs.
See Also:
  • Constructor Details

    • UnknownCraftingRecipeException

      public UnknownCraftingRecipeException(org.cyclops.commoncapabilities.api.ingredient.IPrototypedIngredient<?,?> ingredient, long quantityMissing, List<UnknownCraftingRecipeException> missingChildRecipes, org.cyclops.commoncapabilities.api.ingredient.IMixedIngredients ingredientsStorage, List<CraftingJob> partialCraftingJobs)
  • Method Details

    • getIngredient

      public org.cyclops.commoncapabilities.api.ingredient.IPrototypedIngredient<?,?> getIngredient()
    • 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