Class DataFixerTransformation.Builder
java.lang.Object
org.spongepowered.configurate.extra.dfu.v4.DataFixerTransformation.Builder
- Enclosing class:
- DataFixerTransformation
Builder for 
DataFixerTransformation.- Since:
- 4.0.0
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionaddType(DSL.TypeReference type, Object... path) Map values atpathto being oftype.addType(DSL.TypeReference type, NodePath path) Map values atpathto being oftype.build()Create a new transformation based on the provided info.Set the fixer to use to process.targetVersion(int targetVersion) Set the desired target version.versionKey(Object... path) Set the path of the node to query and store the node's schema version at.versionKey(NodePath path) Set the path of the node to query and store the node's schema version at.
- 
Constructor Details- 
Builderpublic Builder()
 
- 
- 
Method Details- 
dataFixerSet the fixer to use to process.- Parameters:
- fixer- the fixer
- Returns:
- this builder
- Since:
- 4.0.0
 
- 
versionKeySet the path of the node to query and store the node's schema version at.- Parameters:
- path- the path
- Returns:
- this builder
- Since:
- 4.0.0
 
- 
versionKeySet the path of the node to query and store the node's schema version at.- Parameters:
- path- the path
- Returns:
- this builder
- Since:
- 4.0.0
 
- 
targetVersionSet the desired target version. If none is specified, the newest available version will be determined from the DataFixer.- Parameters:
- targetVersion- target version
- Returns:
- this builder
- Since:
- 4.0.0
 
- 
addTypeMap values atpathto being oftype.- Parameters:
- type- value type reference
- path- target path
- Returns:
- this builder
- Since:
- 4.0.0
 
- 
addTypeMap values atpathto being oftype.- Parameters:
- type- value type reference
- path- target path
- Returns:
- this builder
- Since:
- 4.0.0
 
- 
buildCreate a new transformation based on the provided info.- Returns:
- new transformation
- Since:
- 4.0.0
 
 
-