Interface IAspectRead<V extends IValue,T extends IValueType<V>>
- All Superinterfaces:
IAspect<V,
T>
- All Known Implementing Classes:
AspectReadBase
An element that can be used inside parts to access a specific aspect of something to read.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.cyclops.integrateddynamics.api.part.aspect.IAspect
IAspect.AspectComparator
-
Method Summary
Modifier and TypeMethodDescriptioncreateNewVariable
(Supplier<PartTarget> targetSupplier) Creates a new variable for this aspect.default IAspectVariable<V>
createNewVariable
(PartTarget target) Deprecated.Methods inherited from interface org.cyclops.integrateddynamics.api.part.aspect.IAspect
getDefaultProperties, getProperties, getPropertiesContainerProvider, getPropertyTypes, getTranslationKey, getUniqueName, getValueType, hasProperties, loadTooltip, setProperties, update
-
Method Details
-
createNewVariable
Deprecated.Creates a new variable for this aspect.- Parameters:
target
- The target for this aspect.- Returns:
- The variable pointing to the given target.
-
createNewVariable
Creates a new variable for this aspect.- Parameters:
targetSupplier
- The target supplier for this aspect.- Returns:
- The variable pointing to the given target.
-
getUpdateType
AspectUpdateType getUpdateType()- Returns:
- The update type on which this aspect should invalidate.
-