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 org.cyclops.integrateddynamics.core.evaluate.operator.OperatorBase
OperatorBase.IFunction, OperatorBase.SafeVariablesGetter
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.resources.ResourceLocation
protected String
void
loadTooltip
(List<net.minecraft.network.chat.Component> lines, boolean appendOptionalInfo) Add tooltip lines for this aspect when hovered in a gui.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, getUnlocalizedCategoryName, getUnlocalizedCategoryPrefix, materialize, 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
-
ParseOperator
-
-
Method Details
-
getUniqueName
public net.minecraft.resources.ResourceLocation getUniqueName()- Specified by:
getUniqueName
in interfaceIOperator
- Overrides:
getUniqueName
in classOperatorBase
- Returns:
- The unique name for this operator, only used for internal storage.
-
getUnlocalizedType
- Specified by:
getUnlocalizedType
in classOperatorBase
-
getUnlocalizedPrefix
- Overrides:
getUnlocalizedPrefix
in classOperatorBase
-
loadTooltip
public void loadTooltip(List<net.minecraft.network.chat.Component> lines, boolean appendOptionalInfo) Description copied from interface:IOperator
Add tooltip lines for this aspect when hovered in a gui.- Specified by:
loadTooltip
in interfaceIOperator
- Overrides:
loadTooltip
in classOperatorBase
- Parameters:
lines
- The list to add lines to.appendOptionalInfo
- If shift-to-show info should be added.
-