Package net.minecraft.util.datafix.fixes
Class BlockStateFlattenVillageCrops
- java.lang.Object
-
- com.mojang.datafixers.DataFix
-
- net.minecraft.util.datafix.fixes.BlockStateFlattenVillageCrops
-
public class BlockStateFlattenVillageCrops extends com.mojang.datafixers.DataFix
-
-
Constructor Summary
Constructors Constructor Description BlockStateFlattenVillageCrops(com.mojang.datafixers.schemas.Schema p_i49617_1_, boolean p_i49617_2_)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private <T> com.mojang.serialization.Dynamic<T>
fixTag(com.mojang.serialization.Dynamic<T> p_209677_1_)
com.mojang.datafixers.TypeRewriteRule
makeRule()
private static <T> com.mojang.serialization.Dynamic<T>
updateChildren(com.mojang.serialization.Dynamic<T> p_210590_0_)
private static java.util.stream.Stream<? extends com.mojang.serialization.Dynamic<?>>
updateChildren(java.util.stream.Stream<? extends com.mojang.serialization.Dynamic<?>> p_210586_0_)
private static <T> com.mojang.serialization.Dynamic<T>
updateCrop(com.mojang.serialization.Dynamic<T> p_209676_0_, java.lang.String p_209676_1_)
private static <T> com.mojang.serialization.Dynamic<T>
updateDoubleField(com.mojang.serialization.Dynamic<T> p_210589_0_)
private static <T> com.mojang.serialization.Dynamic<T>
updateSingleField(com.mojang.serialization.Dynamic<T> p_210588_0_)
-
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
-
-
-
-
Method Detail
-
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_209677_1_)
-
updateChildren
private static <T> com.mojang.serialization.Dynamic<T> updateChildren(com.mojang.serialization.Dynamic<T> p_210590_0_)
-
updateChildren
private static java.util.stream.Stream<? extends com.mojang.serialization.Dynamic<?>> updateChildren(java.util.stream.Stream<? extends com.mojang.serialization.Dynamic<?>> p_210586_0_)
-
updateSingleField
private static <T> com.mojang.serialization.Dynamic<T> updateSingleField(com.mojang.serialization.Dynamic<T> p_210588_0_)
-
updateDoubleField
private static <T> com.mojang.serialization.Dynamic<T> updateDoubleField(com.mojang.serialization.Dynamic<T> p_210589_0_)
-
updateCrop
private static <T> com.mojang.serialization.Dynamic<T> updateCrop(com.mojang.serialization.Dynamic<T> p_209676_0_, java.lang.String p_209676_1_)
-
-