Package net.minecraft.datafixer.fix
Class ItemIdFix
java.lang.Object
com.mojang.datafixers.DataFix
net.minecraft.datafixer.fix.ItemIdFix
public class ItemIdFix
extends com.mojang.datafixers.DataFix
- Mappings:
Namespace Name named net/minecraft/datafixer/fix/ItemIdFix
intermediary net/minecraft/class_1181
official bef
-
Field Summary
-
Constructor Summary
ConstructorDescriptionItemIdFix
(com.mojang.datafixers.schemas.Schema outputSchema, boolean changesType) -
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
-
NUMERICAL_ID_TO_STRING_ID_MAP
- Mappings:
Namespace Name Mixin selector named NUMERICAL_ID_TO_STRING_ID_MAP
Lnet/minecraft/datafixer/fix/ItemIdFix;NUMERICAL_ID_TO_STRING_ID_MAP:Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;
intermediary field_5675
Lnet/minecraft/class_1181;field_5675:Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;
official a
Lbef;a:Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;
-
-
Constructor Details
-
ItemIdFix
public ItemIdFix(com.mojang.datafixers.schemas.Schema outputSchema, boolean changesType) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/datafixer/fix/ItemIdFix;<init>(Lcom/mojang/datafixers/schemas/Schema;Z)V
intermediary <init>
Lnet/minecraft/class_1181;<init>(Lcom/mojang/datafixers/schemas/Schema;Z)V
official <init>
Lbef;<init>(Lcom/mojang/datafixers/schemas/Schema;Z)V
-
-
Method Details
-
fromId
- Mappings:
Namespace Name Mixin selector named fromId
Lnet/minecraft/datafixer/fix/ItemIdFix;fromId(I)Ljava/lang/String;
intermediary method_5018
Lnet/minecraft/class_1181;method_5018(I)Ljava/lang/String;
official a
Lbef;a(I)Ljava/lang/String;
-
makeRule
public com.mojang.datafixers.TypeRewriteRule makeRule()- Specified by:
makeRule
in classcom.mojang.datafixers.DataFix
-