Package net.minecraft.datafixer.fix
Class RenameVariantsFix
java.lang.Object
com.mojang.datafixers.DataFix
net.minecraft.datafixer.fix.ChoiceFix
net.minecraft.datafixer.fix.RenameVariantsFix
- Mappings:
Namespace Name official atm
intermediary net/minecraft/class_7508
named net/minecraft/datafixer/fix/RenameVariantsFix
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected 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
-
oldToNewNames
- Mappings:
Namespace Name Mixin selector official a
Latm;a:Ljava/util/Map;
intermediary field_39407
Lnet/minecraft/class_7508;field_39407:Ljava/util/Map;
named oldToNewNames
Lnet/minecraft/datafixer/fix/RenameVariantsFix;oldToNewNames:Ljava/util/Map;
-
-
Constructor Details
-
RenameVariantsFix
public RenameVariantsFix(com.mojang.datafixers.schemas.Schema schema, String name, com.mojang.datafixers.DSL.TypeReference type, String choiceName, Map<String, String> oldToNewNames) - Mappings:
Namespace Name Mixin selector official <init>
Latm;<init>(Lcom/mojang/datafixers/schemas/Schema;Ljava/lang/String;Lcom/mojang/datafixers/DSL$TypeReference;Ljava/lang/String;Ljava/util/Map;)V
intermediary <init>
Lnet/minecraft/class_7508;<init>(Lcom/mojang/datafixers/schemas/Schema;Ljava/lang/String;Lcom/mojang/datafixers/DSL$TypeReference;Ljava/lang/String;Ljava/util/Map;)V
named <init>
Lnet/minecraft/datafixer/fix/RenameVariantsFix;<init>(Lcom/mojang/datafixers/schemas/Schema;Ljava/lang/String;Lcom/mojang/datafixers/DSL$TypeReference;Ljava/lang/String;Ljava/util/Map;)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 official a
Larx;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;
-