Class ValueTypeCategoryNamed
java.lang.Object
org.cyclops.integrateddynamics.core.evaluate.variable.ValueTypeBase<V>
org.cyclops.integrateddynamics.core.evaluate.variable.ValueTypeCategoryBase<IValue>
org.cyclops.integrateddynamics.core.evaluate.variable.ValueTypeCategoryNamed
- All Implemented Interfaces:
IValueType<IValue>,IValueTypeCategory<IValue>
Value type category with values that have a name.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.cyclops.integrateddynamics.api.evaluate.variable.IValueType
IValueType.ValueTypeComparator -
Field Summary
Fields inherited from class org.cyclops.integrateddynamics.core.evaluate.variable.ValueTypeCategoryBase
elements -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancorrespondsTo(IValueType<?> valueType) Check if the given type corresponds with this type.Methods inherited from class org.cyclops.integrateddynamics.core.evaluate.variable.ValueTypeCategoryBase
createLogicProgrammerElement, deserialize, getDefault, getElements, getModId, getTranslationKey, isCategory, serialize, toCompactStringMethods inherited from class org.cyclops.integrateddynamics.core.evaluate.variable.ValueTypeBase
canDeserialize, cast, getDisplayColor, getDisplayColorFormat, getTypeName, getTypeNamespace, getUniqueName, getUnlocalizedPrefix, isObject, loadTooltip, materialize, parseString, registerModelResourceLocation, toString, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.cyclops.integrateddynamics.api.evaluate.variable.IValueType
canDeserialize, cast, deserializeValuePredicate, getDisplayColor, getDisplayColorFormat, getTypeName, getUniqueName, getVariableItemOverrideModel, isObject, loadTooltip, materialize, parseString, renderISTER, toString
-
Constructor Details
-
ValueTypeCategoryNamed
public ValueTypeCategoryNamed()
-
-
Method Details
-
getName
- Throws:
EvaluationException
-
correspondsTo
Description copied from interface:IValueTypeCheck if the given type corresponds with this type. To check bidirectional, useValueHelpers.correspondsTo(IValueType, IValueType).- Specified by:
correspondsToin interfaceIValueType<IValue>- Overrides:
correspondsToin classValueTypeCategoryBase<IValue>- Parameters:
valueType- The value type to check correspondence with.- Returns:
- If the given value type can be used with this value type.
-