Package com.mojang.datafixers
Class DataFixerUpper
java.lang.Object
com.mojang.datafixers.DataFixerUpper
- All Implemented Interfaces:
DataFixer
-
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionprotected
DataFixerUpper
(Int2ObjectSortedMap<Schema> schemas, List<DataFix> globalList, IntSortedSet fixerVersions) -
Method Summary
Modifier and TypeMethodDescriptionprotected IntSortedSet
protected static int
getLowestSchemaSameVersion
(Int2ObjectSortedMap<Schema> schemas, int versionKey) protected TypeRewriteRule
getRule
(int version, int newVersion) getSchema
(int key) protected Type<?>
getType
(DSL.TypeReference type, int version) <T> Dynamic<T>
update
(DSL.TypeReference type, Dynamic<T> input, int version, int newVersion)
-
Field Details
-
ERRORS_ARE_FATAL
public static boolean ERRORS_ARE_FATAL -
OPTIMIZATION_RULE
-
-
Constructor Details
-
DataFixerUpper
protected DataFixerUpper(Int2ObjectSortedMap<Schema> schemas, List<DataFix> globalList, IntSortedSet fixerVersions)
-
-
Method Details