类 VillagerProfessionFix
- java.lang.Object
-
- com.mojang.datafixers.DataFix
-
- net.minecraft.datafixer.fix.ChoiceFix
-
- net.minecraft.datafixer.fix.VillagerProfessionFix
-
public class VillagerProfessionFix extends ChoiceFix
- Mappings:
Namespace Name official amnintermediary net/minecraft/class_3845named net/minecraft/datafixer/fix/VillagerProfessionFix
-
-
构造器概要
构造器 构造器 说明 VillagerProfessionFix(com.mojang.datafixers.schemas.Schema outputSchema, String entity)
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 private static StringconvertProfessionId(int professionId, int careerId)protected com.mojang.datafixers.Typed<?>transform(com.mojang.datafixers.Typed<?> inputType)-
从类继承的方法 com.mojang.datafixers.DataFix
checked, convertUnchecked, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhereTyped, fixTypeEverywhereTyped, fixTypeEverywhereTyped, fixTypeEverywhereTyped, getInputSchema, getOutputSchema, getRule, getVersionKey, onFail, writeAndRead, writeFixAndRead
-
-
-
-
构造器详细资料
-
VillagerProfessionFix
public VillagerProfessionFix(com.mojang.datafixers.schemas.Schema outputSchema, String entity)- Mappings:
Namespace Name Mixin selector official <init>Lamn;<init>(Lcom/mojang/datafixers/schemas/Schema;Ljava/lang/String;)Vintermediary <init>Lnet/minecraft/class_3845;<init>(Lcom/mojang/datafixers/schemas/Schema;Ljava/lang/String;)Vnamed <init>Lnet/minecraft/datafixer/fix/VillagerProfessionFix;<init>(Lcom/mojang/datafixers/schemas/Schema;Ljava/lang/String;)V
-
-
方法详细资料
-
transform
protected com.mojang.datafixers.Typed<?> transform(com.mojang.datafixers.Typed<?> inputType)
- 指定者:
transform在类中ChoiceFix- Mappings:
Namespace Name Mixin selector official aLale;a(Lcom/mojang/datafixers/Typed;)Lcom/mojang/datafixers/Typed;intermediary method_5105Lnet/minecraft/class_1197;method_5105(Lcom/mojang/datafixers/Typed;)Lcom/mojang/datafixers/Typed;named transformLnet/minecraft/datafixer/fix/ChoiceFix;transform(Lcom/mojang/datafixers/Typed;)Lcom/mojang/datafixers/Typed;
-
convertProfessionId
private static String convertProfessionId(int professionId, int careerId)
- Mappings:
Namespace Name Mixin selector official aLamn;a(II)Ljava/lang/String;intermediary method_16897Lnet/minecraft/class_3845;method_16897(II)Ljava/lang/String;named convertProfessionIdLnet/minecraft/datafixer/fix/VillagerProfessionFix;convertProfessionId(II)Ljava/lang/String;
-
-