Package net.minecraft.datafixer.fix
Class VillagerProfessionFix
java.lang.Object
com.mojang.datafixers.DataFix
net.minecraft.datafixer.fix.ChoiceFix
net.minecraft.datafixer.fix.VillagerProfessionFix
- Mappings:
Namespace Name official awn
intermediary net/minecraft/class_3845
named net/minecraft/datafixer/fix/VillagerProfessionFix
-
Constructor Summary
ConstructorDescriptionVillagerProfessionFix
(com.mojang.datafixers.schemas.Schema outputSchema, String entity) -
Method Summary
Modifier and TypeMethodDescriptionprivate 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
-
Constructor Details
-
VillagerProfessionFix
- Mappings:
Namespace Name Mixin selector official <init>
Lawn;<init>(Lcom/mojang/datafixers/schemas/Schema;Ljava/lang/String;)V
intermediary <init>
Lnet/minecraft/class_3845;<init>(Lcom/mojang/datafixers/schemas/Schema;Ljava/lang/String;)V
named <init>
Lnet/minecraft/datafixer/fix/VillagerProfessionFix;<init>(Lcom/mojang/datafixers/schemas/Schema;Ljava/lang/String;)V
-
-
Method Details
-
transform
protected com.mojang.datafixers.Typed<?> transform(com.mojang.datafixers.Typed<?> inputType) - Specified by:
transform
in classChoiceFix
- Mappings:
Namespace Name Mixin selector official a
Lauv;a(Lcom/mojang/datafixers/Typed;)Lcom/mojang/datafixers/Typed;
intermediary method_5105
Lnet/minecraft/class_1197;method_5105(Lcom/mojang/datafixers/Typed;)Lcom/mojang/datafixers/Typed;
named transform
Lnet/minecraft/datafixer/fix/ChoiceFix;transform(Lcom/mojang/datafixers/Typed;)Lcom/mojang/datafixers/Typed;
-
convertProfessionId
- Mappings:
Namespace Name Mixin selector official a
Lawn;a(II)Ljava/lang/String;
intermediary method_16897
Lnet/minecraft/class_3845;method_16897(II)Ljava/lang/String;
named convertProfessionId
Lnet/minecraft/datafixer/fix/VillagerProfessionFix;convertProfessionId(II)Ljava/lang/String;
-