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