Class SavedDataVillageCropFix

java.lang.Object
com.mojang.datafixers.DataFix
net.minecraft.datafixer.fix.SavedDataVillageCropFix

public class SavedDataVillageCropFix extends com.mojang.datafixers.DataFix
Mappings:
Namespace Name
official asc
intermediary net/minecraft/class_1209
named net/minecraft/datafixer/fix/SavedDataVillageCropFix
  • Constructor Summary

    Constructors
    Constructor
    Description
    SavedDataVillageCropFix(com.mojang.datafixers.schemas.Schema schema, boolean bool)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    private <T> com.mojang.serialization.Dynamic<T>
    fix(com.mojang.serialization.Dynamic<T> dynamic)
     
    private static <T> com.mojang.serialization.Dynamic<T>
    fixCropId(com.mojang.serialization.Dynamic<T> dynamic, String cropId)
     
    private static <T> com.mojang.serialization.Dynamic<T>
    fixLargePlotCropIds(com.mojang.serialization.Dynamic<T> dynamic)
     
    private static <T> com.mojang.serialization.Dynamic<T>
    fixSmallPlotCropIds(com.mojang.serialization.Dynamic<T> dynamic)
     
    private static <T> com.mojang.serialization.Dynamic<T>
    fixVillageChildren(com.mojang.serialization.Dynamic<T> dynamic)
     
    private static Stream<? extends com.mojang.serialization.Dynamic<?>>
    fixVillageChildren(Stream<? extends com.mojang.serialization.Dynamic<?>> villageChildren)
     
    com.mojang.datafixers.TypeRewriteRule
     

    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 schema, boolean bool)
  • Method Details

    • makeRule

      public com.mojang.datafixers.TypeRewriteRule makeRule()
      Specified by:
      makeRule in class com.mojang.datafixers.DataFix
    • fix

      private <T> com.mojang.serialization.Dynamic<T> fix(com.mojang.serialization.Dynamic<T> dynamic)
      Mappings:
      Namespace Name Mixin selector
      official a Lasc;a(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
      intermediary method_5152 Lnet/minecraft/class_1209;method_5152(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
      named fix Lnet/minecraft/datafixer/fix/SavedDataVillageCropFix;fix(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
    • fixVillageChildren

      private static <T> com.mojang.serialization.Dynamic<T> fixVillageChildren(com.mojang.serialization.Dynamic<T> dynamic)
      Mappings:
      Namespace Name Mixin selector
      official b Lasc;b(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
      intermediary method_5157 Lnet/minecraft/class_1209;method_5157(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
      named fixVillageChildren Lnet/minecraft/datafixer/fix/SavedDataVillageCropFix;fixVillageChildren(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
    • fixVillageChildren

      private static Stream<? extends com.mojang.serialization.Dynamic<?>> fixVillageChildren(Stream<? extends com.mojang.serialization.Dynamic<?>> villageChildren)
      Mappings:
      Namespace Name Mixin selector
      official a Lasc;a(Ljava/util/stream/Stream;)Ljava/util/stream/Stream;
      intermediary method_5151 Lnet/minecraft/class_1209;method_5151(Ljava/util/stream/Stream;)Ljava/util/stream/Stream;
      named fixVillageChildren Lnet/minecraft/datafixer/fix/SavedDataVillageCropFix;fixVillageChildren(Ljava/util/stream/Stream;)Ljava/util/stream/Stream;
    • fixSmallPlotCropIds

      private static <T> com.mojang.serialization.Dynamic<T> fixSmallPlotCropIds(com.mojang.serialization.Dynamic<T> dynamic)
      Mappings:
      Namespace Name Mixin selector
      official c Lasc;c(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
      intermediary method_5154 Lnet/minecraft/class_1209;method_5154(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
      named fixSmallPlotCropIds Lnet/minecraft/datafixer/fix/SavedDataVillageCropFix;fixSmallPlotCropIds(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
    • fixLargePlotCropIds

      private static <T> com.mojang.serialization.Dynamic<T> fixLargePlotCropIds(com.mojang.serialization.Dynamic<T> dynamic)
      Mappings:
      Namespace Name Mixin selector
      official d Lasc;d(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
      intermediary method_5155 Lnet/minecraft/class_1209;method_5155(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
      named fixLargePlotCropIds Lnet/minecraft/datafixer/fix/SavedDataVillageCropFix;fixLargePlotCropIds(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
    • fixCropId

      private static <T> com.mojang.serialization.Dynamic<T> fixCropId(com.mojang.serialization.Dynamic<T> dynamic, String cropId)
      Mappings:
      Namespace Name Mixin selector
      official a Lasc;a(Lcom/mojang/serialization/Dynamic;Ljava/lang/String;)Lcom/mojang/serialization/Dynamic;
      intermediary method_5156 Lnet/minecraft/class_1209;method_5156(Lcom/mojang/serialization/Dynamic;Ljava/lang/String;)Lcom/mojang/serialization/Dynamic;
      named fixCropId Lnet/minecraft/datafixer/fix/SavedDataVillageCropFix;fixCropId(Lcom/mojang/serialization/Dynamic;Ljava/lang/String;)Lcom/mojang/serialization/Dynamic;