Class PositionedOperator
java.lang.Object
org.cyclops.integrateddynamics.core.evaluate.operator.OperatorBase
org.cyclops.integrateddynamics.core.evaluate.operator.PositionedOperator
- All Implemented Interfaces:
org.cyclops.cyclopscore.persist.nbt.INBTProvider
,IOperator
- Direct Known Subclasses:
PositionedOperatorRecipeHandler
public abstract class PositionedOperator
extends OperatorBase
implements org.cyclops.cyclopscore.persist.nbt.INBTProvider
An abstract operator that is based on something positioned.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.cyclops.integrateddynamics.core.evaluate.operator.OperatorBase
OperatorBase.IFunction, OperatorBase.SafeVariablesGetter
-
Constructor Summary
ModifierConstructorDescriptionprotected
PositionedOperator
(String symbol, String operatorName, String interactName, IValueType[] inputTypes, IValueType outputType, OperatorBase.IFunction function, IConfigRenderPattern renderPattern, org.cyclops.cyclopscore.datastructure.DimPos pos, net.minecraft.core.Direction side) -
Method Summary
Modifier and TypeMethodDescriptionorg.cyclops.cyclopscore.datastructure.DimPos
getPos()
net.minecraft.core.Direction
getSide()
Materialize this operator so that it can exist without any external references.void
readGeneratedFieldsFromNBT
(net.minecraft.nbt.CompoundTag tag) void
setPos
(org.cyclops.cyclopscore.datastructure.DimPos pos) void
setSide
(net.minecraft.core.Direction side) void
writeGeneratedFieldsToNBT
(net.minecraft.nbt.CompoundTag tag) 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, getUnlocalizedType, 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
-
PositionedOperator
protected PositionedOperator(String symbol, String operatorName, String interactName, IValueType[] inputTypes, IValueType outputType, OperatorBase.IFunction function, IConfigRenderPattern renderPattern, org.cyclops.cyclopscore.datastructure.DimPos pos, net.minecraft.core.Direction side)
-
-
Method Details
-
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 classOperatorBase
- Returns:
- The materialized operator.
-
writeGeneratedFieldsToNBT
public void writeGeneratedFieldsToNBT(net.minecraft.nbt.CompoundTag tag) - Specified by:
writeGeneratedFieldsToNBT
in interfaceorg.cyclops.cyclopscore.persist.nbt.INBTProvider
-
readGeneratedFieldsFromNBT
public void readGeneratedFieldsFromNBT(net.minecraft.nbt.CompoundTag tag) - Specified by:
readGeneratedFieldsFromNBT
in interfaceorg.cyclops.cyclopscore.persist.nbt.INBTProvider
-
getPos
public org.cyclops.cyclopscore.datastructure.DimPos getPos() -
setPos
public void setPos(org.cyclops.cyclopscore.datastructure.DimPos pos) -
getSide
public net.minecraft.core.Direction getSide() -
setSide
public void setSide(net.minecraft.core.Direction side)
-