Package net.minecraft.datafixer.fix
Class ChoiceTypesFix
java.lang.Object
com.mojang.datafixers.DataFix
net.minecraft.datafixer.fix.ChoiceTypesFix
public class ChoiceTypesFix
extends com.mojang.datafixers.DataFix
- Mappings:
Namespace Name official amwintermediary net/minecraft/class_3553named net/minecraft/datafixer/fix/ChoiceTypesFix
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionChoiceTypesFix(com.mojang.datafixers.schemas.Schema outputSchema, String name, com.mojang.datafixers.DSL.TypeReference types) -
Method Summary
Modifier and TypeMethodDescriptionprotected final <K> com.mojang.datafixers.TypeRewriteRulefixChoiceTypes(String name, com.mojang.datafixers.types.templates.TaggedChoice.TaggedChoiceType<K> inputChoiceType, com.mojang.datafixers.types.templates.TaggedChoice.TaggedChoiceType<?> outputChoiceType) com.mojang.datafixers.TypeRewriteRulemakeRule()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
-
name
- Mappings:
Namespace Name Mixin selector official aLamw;a:Ljava/lang/String;intermediary field_15779Lnet/minecraft/class_3553;field_15779:Ljava/lang/String;named nameLnet/minecraft/datafixer/fix/ChoiceTypesFix;name:Ljava/lang/String;
-
types
private final com.mojang.datafixers.DSL.TypeReference types- Mappings:
Namespace Name Mixin selector official bLamw;b:Lcom/mojang/datafixers/DSL$TypeReference;intermediary field_15780Lnet/minecraft/class_3553;field_15780:Lcom/mojang/datafixers/DSL$TypeReference;named typesLnet/minecraft/datafixer/fix/ChoiceTypesFix;types:Lcom/mojang/datafixers/DSL$TypeReference;
-
-
Constructor Details
-
ChoiceTypesFix
public ChoiceTypesFix(com.mojang.datafixers.schemas.Schema outputSchema, String name, com.mojang.datafixers.DSL.TypeReference types) - Mappings:
Namespace Name Mixin selector official <init>Lamw;<init>(Lcom/mojang/datafixers/schemas/Schema;Ljava/lang/String;Lcom/mojang/datafixers/DSL$TypeReference;)Vintermediary <init>Lnet/minecraft/class_3553;<init>(Lcom/mojang/datafixers/schemas/Schema;Ljava/lang/String;Lcom/mojang/datafixers/DSL$TypeReference;)Vnamed <init>Lnet/minecraft/datafixer/fix/ChoiceTypesFix;<init>(Lcom/mojang/datafixers/schemas/Schema;Ljava/lang/String;Lcom/mojang/datafixers/DSL$TypeReference;)V
-
-
Method Details
-
makeRule
public com.mojang.datafixers.TypeRewriteRule makeRule()- Specified by:
makeRulein classcom.mojang.datafixers.DataFix
-
fixChoiceTypes
protected final <K> com.mojang.datafixers.TypeRewriteRule fixChoiceTypes(String name, com.mojang.datafixers.types.templates.TaggedChoice.TaggedChoiceType<K> inputChoiceType, com.mojang.datafixers.types.templates.TaggedChoice.TaggedChoiceType<?> outputChoiceType) - Mappings:
Namespace Name Mixin selector official aLamw;a(Ljava/lang/String;Lcom/mojang/datafixers/types/templates/TaggedChoice$TaggedChoiceType;Lcom/mojang/datafixers/types/templates/TaggedChoice$TaggedChoiceType;)Lcom/mojang/datafixers/TypeRewriteRule;intermediary method_15476Lnet/minecraft/class_3553;method_15476(Ljava/lang/String;Lcom/mojang/datafixers/types/templates/TaggedChoice$TaggedChoiceType;Lcom/mojang/datafixers/types/templates/TaggedChoice$TaggedChoiceType;)Lcom/mojang/datafixers/TypeRewriteRule;named fixChoiceTypesLnet/minecraft/datafixer/fix/ChoiceTypesFix;fixChoiceTypes(Ljava/lang/String;Lcom/mojang/datafixers/types/templates/TaggedChoice$TaggedChoiceType;Lcom/mojang/datafixers/types/templates/TaggedChoice$TaggedChoiceType;)Lcom/mojang/datafixers/TypeRewriteRule;
-