Package net.minecraft.datafixer.fix
Class VillagerProfessionFix
java.lang.Object
com.mojang.datafixers.DataFix
net.minecraft.datafixer.fix.ChoiceFix
net.minecraft.datafixer.fix.VillagerProfessionFix
public class VillagerProfessionFix extends ChoiceFix
-
Constructor Summary
Constructors Constructor Description VillagerProfessionFix(com.mojang.datafixers.schemas.Schema outputSchema, String entity)
-
Method Summary
Modifier and Type Method Description private static String
convertProfessionId(int professionId, int careerId)
protected com.mojang.datafixers.Typed<?>
transform(com.mojang.datafixers.Typed<?> inputType)
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