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:
PositionedOperatorNetworkVariableById,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 ClassesNested classes/interfaces inherited from class org.cyclops.integrateddynamics.core.evaluate.operator.OperatorBase
OperatorBase.IFunction, OperatorBase.SafeVariablesGetter -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedPositionedOperator(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.DimPosgetPos()net.minecraft.core.DirectiongetSide()Materialize this operator so that it can exist without any external references.voidreadGeneratedFieldsFromNBT(net.minecraft.nbt.CompoundTag tag, net.minecraft.core.HolderLookup.Provider holderLookupProvider) voidsetPos(org.cyclops.cyclopscore.datastructure.DimPos pos) voidsetSide(net.minecraft.core.Direction side) voidwriteGeneratedFieldsToNBT(net.minecraft.nbt.CompoundTag tag, net.minecraft.core.HolderLookup.Provider holderLookupProvider) 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, validateTypesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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:IOperatorMaterialize this operator so that it can exist without any external references.- Specified by:
materializein interfaceIOperator- Overrides:
materializein classOperatorBase- Returns:
- The materialized operator.
-
writeGeneratedFieldsToNBT
public void writeGeneratedFieldsToNBT(net.minecraft.nbt.CompoundTag tag, net.minecraft.core.HolderLookup.Provider holderLookupProvider) - Specified by:
writeGeneratedFieldsToNBTin interfaceorg.cyclops.cyclopscore.persist.nbt.INBTProvider
-
readGeneratedFieldsFromNBT
public void readGeneratedFieldsFromNBT(net.minecraft.nbt.CompoundTag tag, net.minecraft.core.HolderLookup.Provider holderLookupProvider) - Specified by:
readGeneratedFieldsFromNBTin 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)
-