Class PositionedOperatorRecipeHandlerRecipesByOutput.Function
java.lang.Object
org.cyclops.integrateddynamics.core.evaluate.operator.PositionedOperatorRecipeHandler.Function
org.cyclops.integrateddynamics.core.evaluate.operator.PositionedOperatorRecipeHandlerRecipesByOutput.Function
- All Implemented Interfaces:
OperatorBase.IFunction
- Direct Known Subclasses:
PositionedOperatorRecipeHandlerRecipesByInput.Function
- Enclosing class:
PositionedOperatorRecipeHandlerRecipesByOutput<T extends IValueType<V>,
V extends IValue>
public static class PositionedOperatorRecipeHandlerRecipesByOutput.Function
extends PositionedOperatorRecipeHandler.Function
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionevaluate
(OperatorBase.SafeVariablesGetter variables) Evaluate this function for the given input.protected com.google.common.cache.Cache
<org.apache.commons.lang3.tuple.Pair<org.apache.commons.lang3.tuple.Pair<org.cyclops.cyclopscore.datastructure.DimPos, net.minecraft.core.Direction>, ValueObjectTypeIngredients.ValueIngredients>, ValueTypeList.ValueList> getCache()
protected org.cyclops.commoncapabilities.api.ingredient.IMixedIngredients
getRecipeIngredients
(org.cyclops.commoncapabilities.api.capability.recipehandler.IRecipeDefinition recipeDefinition) protected boolean
validateIngredients
(org.cyclops.commoncapabilities.api.ingredient.IMixedIngredients actualIngredients, org.cyclops.commoncapabilities.api.ingredient.IMixedIngredients givenIngredients) Methods inherited from class org.cyclops.integrateddynamics.core.evaluate.operator.PositionedOperatorRecipeHandler.Function
getOperator, setOperator
-
Constructor Details
-
Function
public Function()
-
-
Method Details
-
evaluate
Description copied from interface:OperatorBase.IFunction
Evaluate this function for the given input.- Parameters:
variables
- The input variables holder.- Returns:
- The output value.
- Throws:
EvaluationException
- If an exception occurs while evaluating
-
validateIngredients
protected boolean validateIngredients(org.cyclops.commoncapabilities.api.ingredient.IMixedIngredients actualIngredients, org.cyclops.commoncapabilities.api.ingredient.IMixedIngredients givenIngredients) -
getCache
protected com.google.common.cache.Cache<org.apache.commons.lang3.tuple.Pair<org.apache.commons.lang3.tuple.Pair<org.cyclops.cyclopscore.datastructure.DimPos,net.minecraft.core.Direction>, getCache()ValueObjectTypeIngredients.ValueIngredients>, ValueTypeList.ValueList> -
getRecipeIngredients
protected org.cyclops.commoncapabilities.api.ingredient.IMixedIngredients getRecipeIngredients(org.cyclops.commoncapabilities.api.capability.recipehandler.IRecipeDefinition recipeDefinition)
-