Package net.minecraft.util.datafix.fixes
Class StructuresBecomeConfiguredFix
java.lang.Object
com.mojang.datafixers.DataFix
net.minecraft.util.datafix.fixes.StructuresBecomeConfiguredFix
public class StructuresBecomeConfiguredFix
extends com.mojang.datafixers.DataFix
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final Map<String,
StructuresBecomeConfiguredFix.Conversion> -
Constructor Summary
ConstructorDescriptionStructuresBecomeConfiguredFix
(com.mojang.datafixers.schemas.Schema p_207679_) -
Method Summary
Modifier and TypeMethodDescriptionprivate com.mojang.serialization.Dynamic<?>
findUpdatedStructureType
(com.mojang.datafixers.util.Pair<com.mojang.serialization.Dynamic<?>, com.mojang.serialization.Dynamic<?>> p_207724_, com.mojang.serialization.Dynamic<?> p_207725_) private com.mojang.serialization.Dynamic<?>
fix
(com.mojang.serialization.Dynamic<?> p_207692_) guessConfiguration
(com.mojang.serialization.Dynamic<?> p_207694_, StructuresBecomeConfiguredFix.Conversion p_207695_) protected com.mojang.datafixers.TypeRewriteRule
makeRule()
private com.mojang.datafixers.util.Pair<com.mojang.serialization.Dynamic<?>,
com.mojang.serialization.Dynamic<?>> updateReference
(com.mojang.datafixers.util.Pair<com.mojang.serialization.Dynamic<?>, com.mojang.serialization.Dynamic<?>> p_207711_, com.mojang.serialization.Dynamic<?> p_207712_) private com.mojang.serialization.Dynamic<?>
updateReferences
(com.mojang.serialization.Dynamic<?> p_207717_, com.mojang.serialization.Dynamic<?> p_207718_) private com.mojang.datafixers.util.Pair<com.mojang.serialization.Dynamic<?>,
com.mojang.serialization.Dynamic<?>> updateStart
(com.mojang.datafixers.util.Pair<com.mojang.serialization.Dynamic<?>, com.mojang.serialization.Dynamic<?>> p_207685_, com.mojang.serialization.Dynamic<?> p_207686_) private com.mojang.serialization.Dynamic<?>
updateStarts
(com.mojang.serialization.Dynamic<?> p_207700_, com.mojang.serialization.Dynamic<?> p_207701_) Methods inherited from class com.mojang.datafixers.DataFix
checked, convertUnchecked, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhereTyped, fixTypeEverywhereTyped, fixTypeEverywhereTyped, fixTypeEverywhereTyped, getInputSchema, getOutputSchema, getRule, getVersionKey, onFail, writeAndRead, writeFixAndRead
-
Field Details
-
CONVERSION_MAP
-
-
Constructor Details
-
StructuresBecomeConfiguredFix
public StructuresBecomeConfiguredFix(com.mojang.datafixers.schemas.Schema p_207679_)
-
-
Method Details
-
makeRule
protected com.mojang.datafixers.TypeRewriteRule makeRule()- Specified by:
makeRule
in classcom.mojang.datafixers.DataFix
-
fix
private com.mojang.serialization.Dynamic<?> fix(com.mojang.serialization.Dynamic<?> p_207692_) -
updateStarts
private com.mojang.serialization.Dynamic<?> updateStarts(com.mojang.serialization.Dynamic<?> p_207700_, com.mojang.serialization.Dynamic<?> p_207701_) -
updateStart
private com.mojang.datafixers.util.Pair<com.mojang.serialization.Dynamic<?>,com.mojang.serialization.Dynamic<?>> updateStart(com.mojang.datafixers.util.Pair<com.mojang.serialization.Dynamic<?>, com.mojang.serialization.Dynamic<?>> p_207685_, com.mojang.serialization.Dynamic<?> p_207686_) -
updateReferences
private com.mojang.serialization.Dynamic<?> updateReferences(com.mojang.serialization.Dynamic<?> p_207717_, com.mojang.serialization.Dynamic<?> p_207718_) -
updateReference
private com.mojang.datafixers.util.Pair<com.mojang.serialization.Dynamic<?>,com.mojang.serialization.Dynamic<?>> updateReference(com.mojang.datafixers.util.Pair<com.mojang.serialization.Dynamic<?>, com.mojang.serialization.Dynamic<?>> p_207711_, com.mojang.serialization.Dynamic<?> p_207712_) -
findUpdatedStructureType
private com.mojang.serialization.Dynamic<?> findUpdatedStructureType(com.mojang.datafixers.util.Pair<com.mojang.serialization.Dynamic<?>, com.mojang.serialization.Dynamic<?>> p_207724_, com.mojang.serialization.Dynamic<?> p_207725_) -
guessConfiguration
private Optional<String> guessConfiguration(com.mojang.serialization.Dynamic<?> p_207694_, StructuresBecomeConfiguredFix.Conversion p_207695_)
-