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 aln
intermediary net/minecraft/class_1209
named net/minecraft/datafixer/fix/SavedDataVillageCropFix
  • Constructor Summary

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

    Modifier and Type Method Description
    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 Stream<? extends com.mojang.serialization.Dynamic<?>> fixVillageChildren​(Stream<? extends com.mojang.serialization.Dynamic<?>> villageChildren)  
    com.mojang.datafixers.TypeRewriteRule makeRule()  
    private <T> com.mojang.serialization.Dynamic<T> method_5152​(com.mojang.serialization.Dynamic<T> dynamic)  
    private static <T> com.mojang.serialization.Dynamic<T> method_5157​(com.mojang.serialization.Dynamic<T> dynamic)  

    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 outputSchema, boolean changesType)
      Mappings:
      Namespace Name Mixin selector
      official <init> Laln;<init>(Lcom/mojang/datafixers/schemas/Schema;Z)V
      intermediary <init> Lnet/minecraft/class_1209;<init>(Lcom/mojang/datafixers/schemas/Schema;Z)V
      named <init> Lnet/minecraft/datafixer/fix/SavedDataVillageCropFix;<init>(Lcom/mojang/datafixers/schemas/Schema;Z)V
  • Method Details

    • makeRule

      public com.mojang.datafixers.TypeRewriteRule makeRule()
      Specified by:
      makeRule in class com.mojang.datafixers.DataFix
      Mappings:
      Namespace Name Mixin selector
      official makeRule Laln;makeRule()Lcom/mojang/datafixers/TypeRewriteRule;
      intermediary makeRule Lnet/minecraft/class_1209;makeRule()Lcom/mojang/datafixers/TypeRewriteRule;
      named makeRule Lnet/minecraft/datafixer/fix/SavedDataVillageCropFix;makeRule()Lcom/mojang/datafixers/TypeRewriteRule;
    • method_5152

      private <T> com.mojang.serialization.Dynamic<T> method_5152​(com.mojang.serialization.Dynamic<T> dynamic)
      Mappings:
      Namespace Name Mixin selector
      official a Laln;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 method_5152 Lnet/minecraft/datafixer/fix/SavedDataVillageCropFix;method_5152(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
    • method_5157

      private static <T> com.mojang.serialization.Dynamic<T> method_5157​(com.mojang.serialization.Dynamic<T> dynamic)
      Mappings:
      Namespace Name Mixin selector
      official b Laln;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 method_5157 Lnet/minecraft/datafixer/fix/SavedDataVillageCropFix;method_5157(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 Laln;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 Laln;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 Laln;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 Laln;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;