Package net.minecraft.datafixer.fix
Class RenameEnchantmentFix
java.lang.Object
com.mojang.datafixers.DataFix
net.minecraft.datafixer.fix.RenameEnchantmentFix
public class RenameEnchantmentFix
extends com.mojang.datafixers.DataFix
- Mappings:
Namespace Name named net/minecraft/datafixer/fix/RenameEnchantmentFix
intermediary net/minecraft/class_9106
official bja
-
Field Summary
-
Constructor Summary
ConstructorDescriptionRenameEnchantmentFix
(com.mojang.datafixers.schemas.Schema outputSchema, String name, Map<String, String> oldToNewIds) -
Method Summary
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 named name
Lnet/minecraft/datafixer/fix/RenameEnchantmentFix;name:Ljava/lang/String;
intermediary field_48315
Lnet/minecraft/class_9106;field_48315:Ljava/lang/String;
official a
Lbja;a:Ljava/lang/String;
-
oldToNewIds
- Mappings:
Namespace Name Mixin selector named oldToNewIds
Lnet/minecraft/datafixer/fix/RenameEnchantmentFix;oldToNewIds:Ljava/util/Map;
intermediary field_48316
Lnet/minecraft/class_9106;field_48316:Ljava/util/Map;
official b
Lbja;b:Ljava/util/Map;
-
-
Constructor Details
-
RenameEnchantmentFix
public RenameEnchantmentFix(com.mojang.datafixers.schemas.Schema outputSchema, String name, Map<String, String> oldToNewIds) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/datafixer/fix/RenameEnchantmentFix;<init>(Lcom/mojang/datafixers/schemas/Schema;Ljava/lang/String;Ljava/util/Map;)V
intermediary <init>
Lnet/minecraft/class_9106;<init>(Lcom/mojang/datafixers/schemas/Schema;Ljava/lang/String;Ljava/util/Map;)V
official <init>
Lbja;<init>(Lcom/mojang/datafixers/schemas/Schema;Ljava/lang/String;Ljava/util/Map;)V
-
-
Method Details
-
makeRule
protected com.mojang.datafixers.TypeRewriteRule makeRule()- Specified by:
makeRule
in classcom.mojang.datafixers.DataFix
-
fixIds
private com.mojang.serialization.Dynamic<?> fixIds(com.mojang.serialization.Dynamic<?> itemTagDynamic) - Mappings:
Namespace Name Mixin selector named fixIds
Lnet/minecraft/datafixer/fix/RenameEnchantmentFix;fixIds(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
intermediary method_56057
Lnet/minecraft/class_9106;method_56057(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
official a
Lbja;a(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
-
fixIds
private com.mojang.serialization.Dynamic<?> fixIds(com.mojang.serialization.Dynamic<?> itemTagDynamic, String enchantmentsKey) - Mappings:
Namespace Name Mixin selector named fixIds
Lnet/minecraft/datafixer/fix/RenameEnchantmentFix;fixIds(Lcom/mojang/serialization/Dynamic;Ljava/lang/String;)Lcom/mojang/serialization/Dynamic;
intermediary method_56060
Lnet/minecraft/class_9106;method_56060(Lcom/mojang/serialization/Dynamic;Ljava/lang/String;)Lcom/mojang/serialization/Dynamic;
official a
Lbja;a(Lcom/mojang/serialization/Dynamic;Ljava/lang/String;)Lcom/mojang/serialization/Dynamic;
-