Interface ITerminalCraftingOption<T>
- Type Parameters:
T- The instance type.
- All Superinterfaces:
Comparable<ITerminalCraftingOption<T>>
- All Known Implementing Classes:
TerminalCraftingOptionRecipeDefinition
Identifies a crafting job possibility.
-
Method Summary
Modifier and TypeMethodDescriptionCollection<org.cyclops.commoncapabilities.api.ingredient.IngredientComponent<?,?>> <T1,M> Collection<T1> getInputs(org.cyclops.commoncapabilities.api.ingredient.IngredientComponent<T1, M> ingredientComponent) The inputs of this crafting job option for the given ingredient component.Collection<org.cyclops.commoncapabilities.api.ingredient.IngredientComponent<?,?>> <T,M> Collection<T> getOutputs(org.cyclops.commoncapabilities.api.ingredient.IngredientComponent<T, M> ingredientComponent) The outputs of this crafting job option for the given ingredient component.Methods inherited from interface java.lang.Comparable
compareTo
-
Method Details
-
getOutputs
- Returns:
- The outputs of this crafting job option for the configured ingredient component.
-
getOutputComponents
Collection<org.cyclops.commoncapabilities.api.ingredient.IngredientComponent<?,?>> getOutputComponents()- Returns:
- All output components.
-
getOutputs
<T,M> Collection<T> getOutputs(org.cyclops.commoncapabilities.api.ingredient.IngredientComponent<T, M> ingredientComponent) The outputs of this crafting job option for the given ingredient component.- Type Parameters:
T- The instance type.M- The matching condition parameter, may be Void.- Parameters:
ingredientComponent- An ingredient component,- Returns:
- The outputs
-
getInputComponents
Collection<org.cyclops.commoncapabilities.api.ingredient.IngredientComponent<?,?>> getInputComponents()- Returns:
- All input components.
-
getInputs
<T1,M> Collection<T1> getInputs(org.cyclops.commoncapabilities.api.ingredient.IngredientComponent<T1, M> ingredientComponent) The inputs of this crafting job option for the given ingredient component.- Type Parameters:
T1- The instance type.M- The matching condition parameter, may be Void.- Parameters:
ingredientComponent- An ingredient component,- Returns:
- The inputs
-