public class ItemIdFix
extends com.mojang.datafixers.DataFix
Modifier and Type | Field and Description |
---|---|
private static it.unimi.dsi.fastutil.ints.Int2ObjectMap<String> |
NUMERICAL_ID_TO_STRING_ID_MAP |
Constructor and Description |
---|
ItemIdFix(com.mojang.datafixers.schemas.Schema outputSchema,
boolean changesType) |
Modifier and Type | Method and Description |
---|---|
static String |
fromId(int id) |
com.mojang.datafixers.TypeRewriteRule |
makeRule() |
checked, convertUnchecked, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhereTyped, fixTypeEverywhereTyped, fixTypeEverywhereTyped, fixTypeEverywhereTyped, getInputSchema, getOutputSchema, getRule, getVersionKey, onFail, writeAndRead, writeFixAndRead
private static final it.unimi.dsi.fastutil.ints.Int2ObjectMap<String> NUMERICAL_ID_TO_STRING_ID_MAP
public ItemIdFix(com.mojang.datafixers.schemas.Schema outputSchema, boolean changesType)
public static String fromId(int id)
public com.mojang.datafixers.TypeRewriteRule makeRule()
makeRule
in class com.mojang.datafixers.DataFix