public class CraftingProcessOverrideBrewingStand extends java.lang.Object implements ICraftingProcessOverride
| Constructor and Description |
|---|
CraftingProcessOverrideBrewingStand() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
craft(java.util.function.Function<org.cyclops.commoncapabilities.api.ingredient.IngredientComponent<?,?>,org.cyclops.integrateddynamics.api.part.PartPos> targetGetter,
org.cyclops.commoncapabilities.api.ingredient.IMixedIngredients ingredients,
ICraftingResultsSink resultsSink,
boolean simulate)
Start a crafting process with the given ingredients.
|
boolean |
isApplicable(org.cyclops.integrateddynamics.api.part.PartPos target)
Check if this override applies to the given target.
|
public boolean isApplicable(org.cyclops.integrateddynamics.api.part.PartPos target)
ICraftingProcessOverrideisApplicable in interface ICraftingProcessOverridetarget - A target position.public boolean craft(java.util.function.Function<org.cyclops.commoncapabilities.api.ingredient.IngredientComponent<?,?>,org.cyclops.integrateddynamics.api.part.PartPos> targetGetter,
org.cyclops.commoncapabilities.api.ingredient.IMixedIngredients ingredients,
ICraftingResultsSink resultsSink,
boolean simulate)
ICraftingProcessOverridecraft in interface ICraftingProcessOverridetargetGetter - A function to get the target position.ingredients - The ingredients to insert.resultsSink - A sink where the ingredients can optionally be inserted into.
This should only be used if the processor does not have an internal storage.simulate - If insertion should be simulated.