public class SavedDataVillageCropFix
extends com.mojang.datafixers.DataFix
Constructor and Description |
---|
SavedDataVillageCropFix(com.mojang.datafixers.schemas.Schema outputSchema,
boolean changesType) |
Modifier and Type | Method and Description |
---|---|
private static <T> com.mojang.serialization.Dynamic<T> |
fixCropId(com.mojang.serialization.Dynamic<T> dynamic,
String cropId) |
private static <T> com.mojang.serialization.Dynamic<T> |
fixLargePlotCropIds(com.mojang.serialization.Dynamic<T> dynamic) |
private static <T> com.mojang.serialization.Dynamic<T> |
fixSmallPlotCropIds(com.mojang.serialization.Dynamic<T> dynamic) |
private static Stream<? extends com.mojang.serialization.Dynamic<?>> |
fixVillageChildren(Stream<? extends com.mojang.serialization.Dynamic<?>> villageChildren) |
com.mojang.datafixers.TypeRewriteRule |
makeRule() |
private <T> com.mojang.serialization.Dynamic<T> |
method_5152(com.mojang.serialization.Dynamic<T> dynamic) |
private static <T> com.mojang.serialization.Dynamic<T> |
method_5157(com.mojang.serialization.Dynamic<T> dynamic) |
checked, convertUnchecked, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhereTyped, fixTypeEverywhereTyped, fixTypeEverywhereTyped, fixTypeEverywhereTyped, getInputSchema, getOutputSchema, getRule, getVersionKey, onFail, writeAndRead, writeFixAndRead
public SavedDataVillageCropFix(com.mojang.datafixers.schemas.Schema outputSchema, boolean changesType)
public com.mojang.datafixers.TypeRewriteRule makeRule()
makeRule
in class com.mojang.datafixers.DataFix
private <T> com.mojang.serialization.Dynamic<T> method_5152(com.mojang.serialization.Dynamic<T> dynamic)
private static <T> com.mojang.serialization.Dynamic<T> method_5157(com.mojang.serialization.Dynamic<T> dynamic)
private static Stream<? extends com.mojang.serialization.Dynamic<?>> fixVillageChildren(Stream<? extends com.mojang.serialization.Dynamic<?>> villageChildren)
private static <T> com.mojang.serialization.Dynamic<T> fixSmallPlotCropIds(com.mojang.serialization.Dynamic<T> dynamic)
private static <T> com.mojang.serialization.Dynamic<T> fixLargePlotCropIds(com.mojang.serialization.Dynamic<T> dynamic)
private static <T> com.mojang.serialization.Dynamic<T> fixCropId(com.mojang.serialization.Dynamic<T> dynamic, String cropId)