Class VillagerTrades

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

public class VillagerTrades extends NamedEntityFix
  • Constructor Summary

    Constructors
    Constructor
    Description
    VillagerTrades(com.mojang.datafixers.schemas.Schema p_i49614_1_, boolean p_i49614_2_)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected com.mojang.datafixers.Typed<?>
    fix(com.mojang.datafixers.Typed<?> p_207419_1_)
     
    private com.mojang.datafixers.Typed<?>
    updateItemStack(com.mojang.datafixers.OpticFinder<com.mojang.datafixers.util.Pair<String,String>> p_210482_1_, com.mojang.datafixers.Typed<?> p_210482_2_)
     

    Methods inherited from class net.minecraft.util.datafix.fixes.NamedEntityFix

    makeRule

    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

    • VillagerTrades

      public VillagerTrades(com.mojang.datafixers.schemas.Schema p_i49614_1_, boolean p_i49614_2_)
  • Method Details

    • fix

      protected com.mojang.datafixers.Typed<?> fix(com.mojang.datafixers.Typed<?> p_207419_1_)
      Specified by:
      fix in class NamedEntityFix
    • updateItemStack

      private com.mojang.datafixers.Typed<?> updateItemStack(com.mojang.datafixers.OpticFinder<com.mojang.datafixers.util.Pair<String,String>> p_210482_1_, com.mojang.datafixers.Typed<?> p_210482_2_)