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
ConstructorDescriptionBlockStateFlattenVillageCrops
(com.mojang.datafixers.schemas.Schema p_i49617_1_, boolean p_i49617_2_) -
Method Summary
Modifier and TypeMethodDescriptionprivate <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 Stream<? extends com.mojang.serialization.Dynamic<?>>
updateChildren
(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_, 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
-
Constructor Details
-
BlockStateFlattenVillageCrops
public BlockStateFlattenVillageCrops(com.mojang.datafixers.schemas.Schema p_i49617_1_, boolean p_i49617_2_)
-
-
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_209677_1_) -
updateChildren
private static <T> com.mojang.serialization.Dynamic<T> updateChildren(com.mojang.serialization.Dynamic<T> p_210590_0_) -
updateChildren
-
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_, String p_209676_1_)
-