Package net.minecraft.util.datafix.fixes
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
ConstructorDescriptionFurnaceRecipeFix
(com.mojang.datafixers.schemas.Schema p_15837_, boolean p_15838_) -
Method Summary
Modifier and TypeMethodDescriptionprivate <R> com.mojang.datafixers.TypeRewriteRule
cap
(com.mojang.datafixers.types.Type<R> p_15850_) protected com.mojang.datafixers.TypeRewriteRule
makeRule()
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
-
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 classcom.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_)
-