public interface ICraftingJobIndex
| Modifier and Type | Method and Description |
|---|---|
CraftingJob |
getCraftingJob(int craftingJobId)
Get the crafting job with the given id.
|
java.util.Collection<CraftingJob> |
getCraftingJobs() |
<T,M> java.util.Iterator<CraftingJob> |
getCraftingJobs(org.cyclops.commoncapabilities.api.ingredient.IngredientComponent<T,M> outputType,
T output,
M matchCondition)
Find crafting jobs with the given output.
|
java.util.Collection<CraftingJob> getCraftingJobs()
<T,M> java.util.Iterator<CraftingJob> getCraftingJobs(org.cyclops.commoncapabilities.api.ingredient.IngredientComponent<T,M> outputType, T output, M matchCondition)
T - The instance type.M - The matching condition parameter, may be Void.outputType - The recipe component type.output - An output ingredient instance.matchCondition - A condition under which the matching should be done.@Nullable CraftingJob getCraftingJob(int craftingJobId)
craftingJobId - A crafting job id.