public class BlockStateFlattenVillageCrops
extends com.mojang.datafixers.DataFix
Constructor and Description |
---|
BlockStateFlattenVillageCrops(com.mojang.datafixers.schemas.Schema outputSchema,
boolean changesType) |
Modifier and Type | Method and Description |
---|---|
private <T> com.mojang.datafixers.Dynamic<T> |
fixTag(com.mojang.datafixers.Dynamic<T> p_209677_1_) |
com.mojang.datafixers.TypeRewriteRule |
makeRule() |
private static <T> com.mojang.datafixers.Dynamic<T> |
updateChildren(com.mojang.datafixers.Dynamic<T> p_210590_0_) |
private static java.util.stream.Stream<? extends com.mojang.datafixers.Dynamic<?>> |
updateChildren(java.util.stream.Stream<? extends com.mojang.datafixers.Dynamic<?>> p_210586_0_) |
private static <T> com.mojang.datafixers.Dynamic<T> |
updateCrop(com.mojang.datafixers.Dynamic<T> p_209676_0_,
java.lang.String p_209676_1_) |
private static <T> com.mojang.datafixers.Dynamic<T> |
updateDoubleField(com.mojang.datafixers.Dynamic<T> p_210589_0_) |
private static <T> com.mojang.datafixers.Dynamic<T> |
updateSingleField(com.mojang.datafixers.Dynamic<T> p_210588_0_) |
checked, convertUnchecked, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhereTyped, fixTypeEverywhereTyped, fixTypeEverywhereTyped, fixTypeEverywhereTyped, getInputSchema, getOutputSchema, getRule, getVersionKey, onFail, writeAndRead, writeFixAndRead
public BlockStateFlattenVillageCrops(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.datafixers.Dynamic<T> fixTag(com.mojang.datafixers.Dynamic<T> p_209677_1_)
private static <T> com.mojang.datafixers.Dynamic<T> updateChildren(com.mojang.datafixers.Dynamic<T> p_210590_0_)
private static java.util.stream.Stream<? extends com.mojang.datafixers.Dynamic<?>> updateChildren(java.util.stream.Stream<? extends com.mojang.datafixers.Dynamic<?>> p_210586_0_)
private static <T> com.mojang.datafixers.Dynamic<T> updateSingleField(com.mojang.datafixers.Dynamic<T> p_210588_0_)
private static <T> com.mojang.datafixers.Dynamic<T> updateDoubleField(com.mojang.datafixers.Dynamic<T> p_210589_0_)
private static <T> com.mojang.datafixers.Dynamic<T> updateCrop(com.mojang.datafixers.Dynamic<T> p_209676_0_, java.lang.String p_209676_1_)