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> private static final org.slf4j.Logger
-
Constructor Summary
ConstructorDescriptionStructuresBecomeConfiguredFix
(com.mojang.datafixers.schemas.Schema p_207679_) -
Method Summary
Modifier and TypeMethodDescriptionprivate com.mojang.serialization.Dynamic
<?> findUpdatedStructureType
(com.mojang.serialization.Dynamic<?> p_207725_, com.mojang.serialization.Dynamic<?> p_339616_) 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.serialization.Dynamic
<?> updateReferences
(com.mojang.serialization.Dynamic<?> p_207717_, com.mojang.serialization.Dynamic<?> p_207718_) 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
-
LOGGER
private static final org.slf4j.Logger LOGGER -
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_) -
updateReferences
private com.mojang.serialization.Dynamic<?> updateReferences(com.mojang.serialization.Dynamic<?> p_207717_, com.mojang.serialization.Dynamic<?> p_207718_) -
findUpdatedStructureType
@Nullable private com.mojang.serialization.Dynamic<?> findUpdatedStructureType(com.mojang.serialization.Dynamic<?> p_207725_, com.mojang.serialization.Dynamic<?> p_339616_) -
guessConfiguration
private Optional<String> guessConfiguration(com.mojang.serialization.Dynamic<?> p_207694_, StructuresBecomeConfiguredFix.Conversion p_207695_)
-