public class FurnaceRecipesFix
extends com.mojang.datafixers.DataFix
Constructor and Description |
---|
FurnaceRecipesFix(com.mojang.datafixers.schemas.Schema outputSchema,
boolean changesType) |
Modifier and Type | Method and Description |
---|---|
protected com.mojang.datafixers.TypeRewriteRule |
makeRule() |
private <R> com.mojang.datafixers.TypeRewriteRule |
updateBlockEntities(com.mojang.datafixers.types.Type<R> type) |
private <R> com.mojang.datafixers.Typed<?> |
updateBlockEntityData(com.mojang.datafixers.types.Type<R> type,
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<?>>> type2,
com.mojang.datafixers.Typed<?> typed) |
checked, convertUnchecked, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhereTyped, fixTypeEverywhereTyped, fixTypeEverywhereTyped, fixTypeEverywhereTyped, getInputSchema, getOutputSchema, getRule, getVersionKey, onFail, writeAndRead, writeFixAndRead
public FurnaceRecipesFix(com.mojang.datafixers.schemas.Schema outputSchema, boolean changesType)
protected com.mojang.datafixers.TypeRewriteRule makeRule()
makeRule
in class com.mojang.datafixers.DataFix
private <R> com.mojang.datafixers.TypeRewriteRule updateBlockEntities(com.mojang.datafixers.types.Type<R> type)
private <R> com.mojang.datafixers.Typed<?> updateBlockEntityData(com.mojang.datafixers.types.Type<R> type, 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<?>>> type2, com.mojang.datafixers.Typed<?> typed)