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 Details

    • Function

      public Function()
  • Method Details

    • evaluate

      public IValue evaluate(OperatorBase.SafeVariablesGetter variables) throws EvaluationException
      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>,ValueObjectTypeIngredients.ValueIngredients>,ValueTypeList.ValueList> getCache()
    • getRecipeIngredients

      protected org.cyclops.commoncapabilities.api.ingredient.IMixedIngredients getRecipeIngredients(org.cyclops.commoncapabilities.api.capability.recipehandler.IRecipeDefinition recipeDefinition)