Package net.minecraft.datafixer.fix
Class EntityVariantTypeFix
java.lang.Object
com.mojang.datafixers.DataFix
net.minecraft.datafixer.fix.ChoiceFix
net.minecraft.datafixer.fix.EntityVariantTypeFix
- Mappings:
Namespace Name official ati
intermediary net/minecraft/class_7371
named net/minecraft/datafixer/fix/EntityVariantTypeFix
-
Field Summary
-
Constructor Summary
ConstructorDescriptionEntityVariantTypeFix
(com.mojang.datafixers.schemas.Schema outputSchema, String name, com.mojang.datafixers.DSL.TypeReference type, String entityId, String variantKey, IntFunction<String> variantIntToId) -
Method Summary
Modifier and TypeMethodDescriptionprivate static <T> com.mojang.serialization.Dynamic<T>
method_43072
(com.mojang.serialization.Dynamic<T> dynamic, String string, String string2, Function<com.mojang.serialization.Dynamic<T>, com.mojang.serialization.Dynamic<T>> function) 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
-
Field Details
-
variantKey
- Mappings:
Namespace Name Mixin selector official a
Lati;a:Ljava/lang/String;
intermediary field_38705
Lnet/minecraft/class_7371;field_38705:Ljava/lang/String;
named variantKey
Lnet/minecraft/datafixer/fix/EntityVariantTypeFix;variantKey:Ljava/lang/String;
-
variantIntToId
- Mappings:
Namespace Name Mixin selector official b
Lati;b:Ljava/util/function/IntFunction;
intermediary field_38706
Lnet/minecraft/class_7371;field_38706:Ljava/util/function/IntFunction;
named variantIntToId
Lnet/minecraft/datafixer/fix/EntityVariantTypeFix;variantIntToId:Ljava/util/function/IntFunction;
-
-
Constructor Details
-
EntityVariantTypeFix
public EntityVariantTypeFix(com.mojang.datafixers.schemas.Schema outputSchema, String name, com.mojang.datafixers.DSL.TypeReference type, String entityId, String variantKey, IntFunction<String> variantIntToId) - Mappings:
Namespace Name Mixin selector official <init>
Lati;<init>(Lcom/mojang/datafixers/schemas/Schema;Ljava/lang/String;Lcom/mojang/datafixers/DSL$TypeReference;Ljava/lang/String;Ljava/lang/String;Ljava/util/function/IntFunction;)V
intermediary <init>
Lnet/minecraft/class_7371;<init>(Lcom/mojang/datafixers/schemas/Schema;Ljava/lang/String;Lcom/mojang/datafixers/DSL$TypeReference;Ljava/lang/String;Ljava/lang/String;Ljava/util/function/IntFunction;)V
named <init>
Lnet/minecraft/datafixer/fix/EntityVariantTypeFix;<init>(Lcom/mojang/datafixers/schemas/Schema;Ljava/lang/String;Lcom/mojang/datafixers/DSL$TypeReference;Ljava/lang/String;Ljava/lang/String;Ljava/util/function/IntFunction;)V
-
-
Method Details
-
method_43072
private static <T> com.mojang.serialization.Dynamic<T> method_43072(com.mojang.serialization.Dynamic<T> dynamic, String string, String string2, Function<com.mojang.serialization.Dynamic<T>, com.mojang.serialization.Dynamic<T>> function) - Mappings:
Namespace Name Mixin selector official a
Lati;a(Lcom/mojang/serialization/Dynamic;Ljava/lang/String;Ljava/lang/String;Ljava/util/function/Function;)Lcom/mojang/serialization/Dynamic;
intermediary method_43072
Lnet/minecraft/class_7371;method_43072(Lcom/mojang/serialization/Dynamic;Ljava/lang/String;Ljava/lang/String;Ljava/util/function/Function;)Lcom/mojang/serialization/Dynamic;
named method_43072
Lnet/minecraft/datafixer/fix/EntityVariantTypeFix;method_43072(Lcom/mojang/serialization/Dynamic;Ljava/lang/String;Ljava/lang/String;Ljava/util/function/Function;)Lcom/mojang/serialization/Dynamic;
-
transform
protected com.mojang.datafixers.Typed<?> transform(com.mojang.datafixers.Typed<?> inputType) - Specified by:
transform
in classChoiceFix
- Mappings:
Namespace Name Mixin selector official a
Lauz;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;
-