Package net.minecraft.datafixer.fix
Class EntityZombieVillagerTypeFix
java.lang.Object
com.mojang.datafixers.DataFix
net.minecraft.datafixer.fix.ChoiceFix
net.minecraft.datafixer.fix.EntityZombieVillagerTypeFix
- Mappings:
Namespace Name named net/minecraft/datafixer/fix/EntityZombieVillagerTypeFix
intermediary net/minecraft/class_1174
official bfr
-
Field Summary
-
Constructor Summary
ConstructorDescriptionEntityZombieVillagerTypeFix
(com.mojang.datafixers.schemas.Schema outputSchema, boolean changesType) -
Method Summary
Modifier and TypeMethodDescriptionprivate int
clampType
(int type) com.mojang.serialization.Dynamic
<?> fixZombieType
(com.mojang.serialization.Dynamic<?> zombieDynamic) protected com.mojang.datafixers.Typed
<?> transform
(com.mojang.datafixers.Typed<?> inputTyped) 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
-
Field Details
-
TYPE_COUNT
private static final int TYPE_COUNT- See Also:
- Mappings:
Namespace Name Mixin selector named TYPE_COUNT
Lnet/minecraft/datafixer/fix/EntityZombieVillagerTypeFix;TYPE_COUNT:I
intermediary field_29883
Lnet/minecraft/class_1174;field_29883:I
official a
Lbfr;a:I
-
-
Constructor Details
-
EntityZombieVillagerTypeFix
public EntityZombieVillagerTypeFix(com.mojang.datafixers.schemas.Schema outputSchema, boolean changesType) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/datafixer/fix/EntityZombieVillagerTypeFix;<init>(Lcom/mojang/datafixers/schemas/Schema;Z)V
intermediary <init>
Lnet/minecraft/class_1174;<init>(Lcom/mojang/datafixers/schemas/Schema;Z)V
official <init>
Lbfr;<init>(Lcom/mojang/datafixers/schemas/Schema;Z)V
-
-
Method Details
-
fixZombieType
public com.mojang.serialization.Dynamic<?> fixZombieType(com.mojang.serialization.Dynamic<?> zombieDynamic) - Mappings:
Namespace Name Mixin selector named fixZombieType
Lnet/minecraft/datafixer/fix/EntityZombieVillagerTypeFix;fixZombieType(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
intermediary method_4990
Lnet/minecraft/class_1174;method_4990(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
official a
Lbfr;a(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
-
clampType
private int clampType(int type) - Mappings:
Namespace Name Mixin selector named clampType
Lnet/minecraft/datafixer/fix/EntityZombieVillagerTypeFix;clampType(I)I
intermediary method_4991
Lnet/minecraft/class_1174;method_4991(I)I
official a
Lbfr;a(I)I
-
transform
protected com.mojang.datafixers.Typed<?> transform(com.mojang.datafixers.Typed<?> inputTyped) - 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
Lbhr;a(Lcom/mojang/datafixers/Typed;)Lcom/mojang/datafixers/Typed;
-