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 bgu
-
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
Lbgu;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
Lbgu;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>
Lbgu;<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<?> data) - 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
Lbgu;a(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
-
fixIds
private com.mojang.serialization.Dynamic<?> fixIds(com.mojang.serialization.Dynamic<?> data, String key) - 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
Lbgu;a(Lcom/mojang/serialization/Dynamic;Ljava/lang/String;)Lcom/mojang/serialization/Dynamic;
-