Class VillagerTradeFix

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

public class VillagerTradeFix extends com.mojang.datafixers.DataFix
Mappings:
Namespace Name
named net/minecraft/datafixer/fix/VillagerTradeFix
intermediary net/minecraft/class_1219
official bhz
  • Constructor Summary

    Constructors
    Constructor
    Description
    VillagerTradeFix(com.mojang.datafixers.schemas.Schema outputSchema)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    private com.mojang.datafixers.Typed<?>
    fixPumpkinTrade(com.mojang.datafixers.OpticFinder<com.mojang.datafixers.util.Pair<String,String>> opticFinder, com.mojang.datafixers.Typed<?> typed)
     
    protected 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

    • VillagerTradeFix

      public VillagerTradeFix(com.mojang.datafixers.schemas.Schema outputSchema)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/datafixer/fix/VillagerTradeFix;<init>(Lcom/mojang/datafixers/schemas/Schema;)V
      intermediary <init> Lnet/minecraft/class_1219;<init>(Lcom/mojang/datafixers/schemas/Schema;)V
      official <init> Lbhz;<init>(Lcom/mojang/datafixers/schemas/Schema;)V
  • Method Details

    • makeRule

      protected com.mojang.datafixers.TypeRewriteRule makeRule()
      Specified by:
      makeRule in class com.mojang.datafixers.DataFix
    • fixPumpkinTrade

      private com.mojang.datafixers.Typed<?> fixPumpkinTrade(com.mojang.datafixers.OpticFinder<com.mojang.datafixers.util.Pair<String,String>> opticFinder, com.mojang.datafixers.Typed<?> typed)
      Mappings:
      Namespace Name Mixin selector
      named fixPumpkinTrade Lnet/minecraft/datafixer/fix/VillagerTradeFix;fixPumpkinTrade(Lcom/mojang/datafixers/OpticFinder;Lcom/mojang/datafixers/Typed;)Lcom/mojang/datafixers/Typed;
      intermediary method_5187 Lnet/minecraft/class_1219;method_5187(Lcom/mojang/datafixers/OpticFinder;Lcom/mojang/datafixers/Typed;)Lcom/mojang/datafixers/Typed;
      official a Lbhz;a(Lcom/mojang/datafixers/OpticFinder;Lcom/mojang/datafixers/Typed;)Lcom/mojang/datafixers/Typed;