Class SavedDataVillageCropFix

java.lang.Object
com.mojang.datafixers.DataFix
net.minecraft.util.datafix.fixes.SavedDataVillageCropFix

public class SavedDataVillageCropFix extends com.mojang.datafixers.DataFix
  • Constructor Summary

    Constructors
    Constructor
    Description
    SavedDataVillageCropFix​(com.mojang.datafixers.schemas.Schema p_16882_, boolean p_16883_)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    private <T> com.mojang.serialization.Dynamic<T>
    fixTag​(com.mojang.serialization.Dynamic<T> p_16885_)
     
    com.mojang.datafixers.TypeRewriteRule
     
    private static <T> com.mojang.serialization.Dynamic<T>
    updateChildren​(com.mojang.serialization.Dynamic<T> p_16892_)
     
    private static Stream<? extends com.mojang.serialization.Dynamic<?>>
    updateChildren​(Stream<? extends com.mojang.serialization.Dynamic<?>> p_16890_)
     
    private static <T> com.mojang.serialization.Dynamic<T>
    updateCrop​(com.mojang.serialization.Dynamic<T> p_16887_, String p_16888_)
     
    private static <T> com.mojang.serialization.Dynamic<T>
    updateDoubleField​(com.mojang.serialization.Dynamic<T> p_16896_)
     
    private static <T> com.mojang.serialization.Dynamic<T>
    updateSingleField​(com.mojang.serialization.Dynamic<T> p_16894_)
     

    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

    • SavedDataVillageCropFix

      public SavedDataVillageCropFix(com.mojang.datafixers.schemas.Schema p_16882_, boolean p_16883_)
  • 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_16885_)
    • updateChildren

      private static <T> com.mojang.serialization.Dynamic<T> updateChildren(com.mojang.serialization.Dynamic<T> p_16892_)
    • updateChildren

      private static Stream<? extends com.mojang.serialization.Dynamic<?>> updateChildren(Stream<? extends com.mojang.serialization.Dynamic<?>> p_16890_)
    • updateSingleField

      private static <T> com.mojang.serialization.Dynamic<T> updateSingleField(com.mojang.serialization.Dynamic<T> p_16894_)
    • updateDoubleField

      private static <T> com.mojang.serialization.Dynamic<T> updateDoubleField(com.mojang.serialization.Dynamic<T> p_16896_)
    • updateCrop

      private static <T> com.mojang.serialization.Dynamic<T> updateCrop(com.mojang.serialization.Dynamic<T> p_16887_, String p_16888_)