Class ParseOperator<T2 extends IValueType<V2>, V2 extends IValue>
java.lang.Object
org.cyclops.integrateddynamics.core.evaluate.operator.OperatorBase
org.cyclops.integrateddynamics.core.evaluate.operator.ParseOperator<T2,V2>
- All Implemented Interfaces:
IOperator
Base class for parse operators.
-
Nested Class Summary
Nested classes/interfaces inherited from class OperatorBase
OperatorBase.IFunction, OperatorBase.SafeVariablesGetter -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.resources.Identifierprotected StringvoidloadTooltip(Consumer<net.minecraft.network.chat.Component> tooltipAdder, boolean appendOptionalInfo) Add tooltip lines for this aspect when hovered in a gui.Methods inherited from class OperatorBase
constructInputVariables, evaluate, getConditionalOutputType, getFunction, getGlobalInteractNamePrefix, getInputTypes, getInteractName, getLocalizedNameFull, getModId, getOperatorName, getOutputType, getRenderPattern, getRequiredInputLength, getSymbol, getTranslationKey, getUnlocalizedCategoryName, getUnlocalizedCategoryPrefix, materialize, shouldAlsoPrefixLocalScope, toString, validateTypesMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface IOperator
getGlobalInteractName, getScopedInteractName
-
Constructor Details
-
ParseOperator
-
-
Method Details
-
getUniqueName
public net.minecraft.resources.Identifier getUniqueName()- Specified by:
getUniqueNamein interfaceIOperator- Overrides:
getUniqueNamein classOperatorBase- Returns:
- The unique name for this operator, only used for internal storage.
-
getUnlocalizedType
- Specified by:
getUnlocalizedTypein classOperatorBase
-
getUnlocalizedPrefix
- Overrides:
getUnlocalizedPrefixin classOperatorBase
-
loadTooltip
public void loadTooltip(Consumer<net.minecraft.network.chat.Component> tooltipAdder, boolean appendOptionalInfo) Description copied from interface:IOperatorAdd tooltip lines for this aspect when hovered in a gui.- Specified by:
loadTooltipin interfaceIOperator- Overrides:
loadTooltipin classOperatorBase- Parameters:
tooltipAdder- The list to add lines to.appendOptionalInfo- If shift-to-show info should be added.
-