Package net.minecraft.util.datafix.fixes
Class SavedDataVillageCropFix
java.lang.Object
com.mojang.datafixers.DataFix
net.minecraft.util.datafix.fixes.SavedDataVillageCropFix
public class SavedDataVillageCropFix
extends com.mojang.datafixers.DataFix
-
Constructor Summary
ConstructorDescriptionSavedDataVillageCropFix(com.mojang.datafixers.schemas.Schema p_16882_, boolean p_16883_)
-
Method Summary
Modifier and TypeMethodDescriptionprivate <T> com.mojang.serialization.Dynamic<T>
fixTag(com.mojang.serialization.Dynamic<T> p_16885_)
com.mojang.datafixers.TypeRewriteRule
makeRule()
private static <T> com.mojang.serialization.Dynamic<T>
updateChildren(com.mojang.serialization.Dynamic<T> p_16892_)
private static Stream<? extends com.mojang.serialization.Dynamic<?>>
updateChildren(Stream<? extends com.mojang.serialization.Dynamic<?>> p_16890_)
private static <T> com.mojang.serialization.Dynamic<T>
updateCrop(com.mojang.serialization.Dynamic<T> p_16887_, String p_16888_)
private static <T> com.mojang.serialization.Dynamic<T>
updateDoubleField(com.mojang.serialization.Dynamic<T> p_16896_)
private static <T> com.mojang.serialization.Dynamic<T>
updateSingleField(com.mojang.serialization.Dynamic<T> p_16894_)
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
-
Constructor Details
-
SavedDataVillageCropFix
public SavedDataVillageCropFix(com.mojang.datafixers.schemas.Schema p_16882_, boolean p_16883_)
-
-
Method Details
-
makeRule
public com.mojang.datafixers.TypeRewriteRule makeRule()- Specified by:
makeRule
in classcom.mojang.datafixers.DataFix
-
fixTag
private <T> com.mojang.serialization.Dynamic<T> fixTag(com.mojang.serialization.Dynamic<T> p_16885_) -
updateChildren
private static <T> com.mojang.serialization.Dynamic<T> updateChildren(com.mojang.serialization.Dynamic<T> p_16892_) -
updateChildren
-
updateSingleField
private static <T> com.mojang.serialization.Dynamic<T> updateSingleField(com.mojang.serialization.Dynamic<T> p_16894_) -
updateDoubleField
private static <T> com.mojang.serialization.Dynamic<T> updateDoubleField(com.mojang.serialization.Dynamic<T> p_16896_) -
updateCrop
private static <T> com.mojang.serialization.Dynamic<T> updateCrop(com.mojang.serialization.Dynamic<T> p_16887_, String p_16888_)
-