Package net.minecraft.util.datafix.fixes
Class UnflattenTextComponentFix
java.lang.Object
com.mojang.datafixers.DataFix
net.minecraft.util.datafix.fixes.UnflattenTextComponentFix
public class UnflattenTextComponentFix
extends com.mojang.datafixers.DataFix
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionUnflattenTextComponentFix
(com.mojang.datafixers.schemas.Schema pOutputSchema) -
Method Summary
Modifier and TypeMethodDescriptionprivate <T> com.mojang.datafixers.TypeRewriteRule
createFixer
(com.mojang.datafixers.types.Type<com.mojang.datafixers.util.Pair<String, String>> pInputType, com.mojang.datafixers.types.Type<T> pOutputType) protected com.mojang.datafixers.TypeRewriteRule
makeRule()
private static <T> com.mojang.serialization.Dynamic
<T> unflattenJson
(com.mojang.serialization.DynamicOps<T> pOps, String pJson) 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
-
-
Constructor Details
-
UnflattenTextComponentFix
public UnflattenTextComponentFix(com.mojang.datafixers.schemas.Schema pOutputSchema)
-
-
Method Details
-
makeRule
protected com.mojang.datafixers.TypeRewriteRule makeRule()- Specified by:
makeRule
in classcom.mojang.datafixers.DataFix
-
createFixer
-
unflattenJson
private static <T> com.mojang.serialization.Dynamic<T> unflattenJson(com.mojang.serialization.DynamicOps<T> pOps, String pJson)
-