Class PositionedOperatorRecipeHandler<T extends IValueType<V>,V extends IValue>
java.lang.Object
org.cyclops.integrateddynamics.core.evaluate.operator.OperatorBase
org.cyclops.integrateddynamics.core.evaluate.operator.PositionedOperator
org.cyclops.integrateddynamics.core.evaluate.operator.PositionedOperatorRecipeHandler<T,V>
- All Implemented Interfaces:
org.cyclops.cyclopscore.persist.nbt.INBTProvider
,IOperator
- Direct Known Subclasses:
PositionedOperatorRecipeHandlerInputs
,PositionedOperatorRecipeHandlerOutput
,PositionedOperatorRecipeHandlerRecipeByInput
,PositionedOperatorRecipeHandlerRecipeByOutput
,PositionedOperatorRecipeHandlerRecipesByInput
,PositionedOperatorRecipeHandlerRecipesByOutput
public class PositionedOperatorRecipeHandler<T extends IValueType<V>,V extends IValue>
extends PositionedOperator
An operator related to a recipe handler.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.cyclops.integrateddynamics.core.evaluate.operator.PositionedOperator
PositionedOperator.Serializer
Nested classes/interfaces inherited from class org.cyclops.integrateddynamics.core.evaluate.operator.OperatorBase
OperatorBase.IFunction, OperatorBase.SafeVariablesGetter
-
Constructor Summary
ConstructorDescriptionPositionedOperatorRecipeHandler
(String name, PositionedOperatorRecipeHandler.Function function, org.cyclops.cyclopscore.datastructure.DimPos pos, net.minecraft.core.Direction side) PositionedOperatorRecipeHandler
(String name, PositionedOperatorRecipeHandler.Function function, IValueType output, org.cyclops.cyclopscore.datastructure.DimPos pos, net.minecraft.core.Direction side) -
Method Summary
Modifier and TypeMethodDescriptionprotected net.minecraftforge.common.util.LazyOptional<org.cyclops.commoncapabilities.api.capability.recipehandler.IRecipeHandler>
protected String
Materialize this operator so that it can exist without any external references.static boolean
validateIngredientsExact
(org.cyclops.commoncapabilities.api.ingredient.IMixedIngredients ingredients, org.cyclops.commoncapabilities.api.ingredient.IMixedIngredients givenIngredients) static boolean
validateIngredientsPartial
(org.cyclops.commoncapabilities.api.ingredient.IMixedIngredients ingredients, org.cyclops.commoncapabilities.api.ingredient.IMixedIngredients givenIngredients) Methods inherited from class org.cyclops.integrateddynamics.core.evaluate.operator.PositionedOperator
getPos, getSide, readGeneratedFieldsFromNBT, setPos, setSide, writeGeneratedFieldsToNBT
Methods inherited from class org.cyclops.integrateddynamics.core.evaluate.operator.OperatorBase
constructInputVariables, evaluate, getConditionalOutputType, getFunction, getGlobalInteractNamePrefix, getInputTypes, getInteractName, getLocalizedNameFull, getModId, getOperatorName, getOutputType, getRenderPattern, getRequiredInputLength, getSymbol, getTranslationKey, getUniqueName, getUnlocalizedCategoryName, getUnlocalizedCategoryPrefix, getUnlocalizedPrefix, loadTooltip, shouldAlsoPrefixLocalScope, toString, validateTypes
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.cyclops.integrateddynamics.api.evaluate.operator.IOperator
getGlobalInteractName, getScopedInteractName
-
Constructor Details
-
PositionedOperatorRecipeHandler
public PositionedOperatorRecipeHandler(String name, PositionedOperatorRecipeHandler.Function function, IValueType output, org.cyclops.cyclopscore.datastructure.DimPos pos, net.minecraft.core.Direction side) -
PositionedOperatorRecipeHandler
public PositionedOperatorRecipeHandler(String name, PositionedOperatorRecipeHandler.Function function, org.cyclops.cyclopscore.datastructure.DimPos pos, net.minecraft.core.Direction side)
-
-
Method Details
-
getRecipeHandler
protected net.minecraftforge.common.util.LazyOptional<org.cyclops.commoncapabilities.api.capability.recipehandler.IRecipeHandler> getRecipeHandler() -
getUnlocalizedType
- Specified by:
getUnlocalizedType
in classOperatorBase
-
materialize
Description copied from interface:IOperator
Materialize this operator so that it can exist without any external references.- Specified by:
materialize
in interfaceIOperator
- Overrides:
materialize
in classPositionedOperator
- Returns:
- The materialized operator.
-
validateIngredientsExact
public static boolean validateIngredientsExact(org.cyclops.commoncapabilities.api.ingredient.IMixedIngredients ingredients, org.cyclops.commoncapabilities.api.ingredient.IMixedIngredients givenIngredients) -
validateIngredientsPartial
public static boolean validateIngredientsPartial(org.cyclops.commoncapabilities.api.ingredient.IMixedIngredients ingredients, org.cyclops.commoncapabilities.api.ingredient.IMixedIngredients givenIngredients)
-