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 named net/minecraft/datafixer/fix/VillagerProfessionFix
intermediary net/minecraft/class_3845
official bhg
-
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 named <init>
Lnet/minecraft/datafixer/fix/VillagerProfessionFix;<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
official <init>
Lbhg;<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 named transform
Lnet/minecraft/datafixer/fix/ChoiceFix;transform(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;
official a
Lbfd;a(Lcom/mojang/datafixers/Typed;)Lcom/mojang/datafixers/Typed;
-
convertProfessionId
- Mappings:
Namespace Name Mixin selector named convertProfessionId
Lnet/minecraft/datafixer/fix/VillagerProfessionFix;convertProfessionId(II)Ljava/lang/String;
intermediary method_16897
Lnet/minecraft/class_3845;method_16897(II)Ljava/lang/String;
official a
Lbhg;a(II)Ljava/lang/String;
-