T - The instance type.M - The matching condition parameter, may be Void.public class TerminalCraftingOptionRecipeDefinition<T,M> extends java.lang.Object implements ITerminalCraftingOption<T>
IRecipeDefinition.| Constructor and Description |
|---|
TerminalCraftingOptionRecipeDefinition(org.cyclops.commoncapabilities.api.ingredient.IngredientComponent<T,M> ingredientComponent,
org.cyclops.commoncapabilities.api.capability.recipehandler.IRecipeDefinition prioritizedRecipe) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(ITerminalCraftingOption<T> o) |
org.cyclops.commoncapabilities.api.ingredient.IngredientComponent<T,M> |
getIngredientComponent() |
java.util.Collection<org.cyclops.commoncapabilities.api.ingredient.IngredientComponent<?,?>> |
getInputComponents() |
<T1,M> java.util.Collection<T1> |
getInputs(org.cyclops.commoncapabilities.api.ingredient.IngredientComponent<T1,M> ingredientComponent)
The inputs of this crafting job option for the given ingredient component.
|
java.util.Collection<org.cyclops.commoncapabilities.api.ingredient.IngredientComponent<?,?>> |
getOutputComponents() |
java.util.Iterator<T> |
getOutputs() |
<T1,M> java.util.Collection<T1> |
getOutputs(org.cyclops.commoncapabilities.api.ingredient.IngredientComponent<T1,M> ingredientComponent)
The outputs of this crafting job option for the given ingredient component.
|
org.cyclops.commoncapabilities.api.capability.recipehandler.IRecipeDefinition |
getRecipe() |
public java.util.Iterator<T> getOutputs()
getOutputs in interface ITerminalCraftingOption<T>public java.util.Collection<org.cyclops.commoncapabilities.api.ingredient.IngredientComponent<?,?>> getOutputComponents()
getOutputComponents in interface ITerminalCraftingOption<T>public <T1,M> java.util.Collection<T1> getOutputs(org.cyclops.commoncapabilities.api.ingredient.IngredientComponent<T1,M> ingredientComponent)
ITerminalCraftingOptiongetOutputs in interface ITerminalCraftingOption<T>T1 - The instance type.M - The matching condition parameter, may be Void.ingredientComponent - An ingredient component,public java.util.Collection<org.cyclops.commoncapabilities.api.ingredient.IngredientComponent<?,?>> getInputComponents()
getInputComponents in interface ITerminalCraftingOption<T>public <T1,M> java.util.Collection<T1> getInputs(org.cyclops.commoncapabilities.api.ingredient.IngredientComponent<T1,M> ingredientComponent)
ITerminalCraftingOptiongetInputs in interface ITerminalCraftingOption<T>T1 - The instance type.M - The matching condition parameter, may be Void.ingredientComponent - An ingredient component,public org.cyclops.commoncapabilities.api.ingredient.IngredientComponent<T,M> getIngredientComponent()
public org.cyclops.commoncapabilities.api.capability.recipehandler.IRecipeDefinition getRecipe()
public int compareTo(ITerminalCraftingOption<T> o)
compareTo in interface java.lang.Comparable<ITerminalCraftingOption<T>>