Interface ValueImporterRegistry.CodecImporter<S,T>
- Type Parameters:
S- The static source value type.T- The configurable target value type.
- Enclosing class:
ValueImporterRegistry
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Functional contract for converting a decoded static
LevelBasedValue instance into its
corresponding configurable LevelBasedValue counterpart.-
Method Summary
-
Method Details
-
importFrom
Constructs a configurable value instance from a decoded static source instance.- Parameters:
source- The decoded staticLevelBasedValueinstance.modId- The target mod namespace designated for the configuration manager.group- The configuration group identifier.propertyPrefix- The base property identifier segment.- Returns:
- The populated configurable value instance.
-