Class FurnaceRecipeFix

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

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

    Constructors
    Constructor
    Description
    FurnaceRecipeFix(com.mojang.datafixers.schemas.Schema p_15837_, boolean p_15838_)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    private <R> com.mojang.datafixers.TypeRewriteRule
    cap(com.mojang.datafixers.types.Type<R> p_15850_)
     
    protected com.mojang.datafixers.TypeRewriteRule
     
    private <R> com.mojang.datafixers.Typed<?>
    updateFurnaceContents(com.mojang.datafixers.types.Type<R> p_15852_, com.mojang.datafixers.types.Type<com.mojang.datafixers.util.Pair<com.mojang.datafixers.util.Either<com.mojang.datafixers.util.Pair<List<com.mojang.datafixers.util.Pair<R,Integer>>,com.mojang.serialization.Dynamic<?>>,com.mojang.datafixers.util.Unit>,com.mojang.serialization.Dynamic<?>>> p_15853_, com.mojang.datafixers.Typed<?> p_15854_)
     

    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

    • FurnaceRecipeFix

      public FurnaceRecipeFix(com.mojang.datafixers.schemas.Schema p_15837_, boolean p_15838_)
  • Method Details

    • makeRule

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

      private <R> com.mojang.datafixers.TypeRewriteRule cap(com.mojang.datafixers.types.Type<R> p_15850_)
    • updateFurnaceContents

      private <R> com.mojang.datafixers.Typed<?> updateFurnaceContents(com.mojang.datafixers.types.Type<R> p_15852_, com.mojang.datafixers.types.Type<com.mojang.datafixers.util.Pair<com.mojang.datafixers.util.Either<com.mojang.datafixers.util.Pair<List<com.mojang.datafixers.util.Pair<R,Integer>>,com.mojang.serialization.Dynamic<?>>,com.mojang.datafixers.util.Unit>,com.mojang.serialization.Dynamic<?>>> p_15853_, com.mojang.datafixers.Typed<?> p_15854_)