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

    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
     
    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 class com.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 Stream<? extends com.mojang.serialization.Dynamic<?>> updateChildren(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_, String p_209676_1_)