public class ItemInstanceTheFlatteningFix
extends com.mojang.datafixers.DataFix
Modifier and Type | Field and Description |
---|---|
private static Set<String> |
DAMAGEABLE_ITEMS |
private static Map<String,String> |
FLATTENING_MAP |
private static Set<String> |
ORIGINAL_ITEM_NAMES |
Constructor and Description |
---|
ItemInstanceTheFlatteningFix(com.mojang.datafixers.schemas.Schema outputSchema,
boolean changesType) |
Modifier and Type | Method and Description |
---|---|
static String |
getItem(String originalName,
int damage) |
com.mojang.datafixers.TypeRewriteRule |
makeRule() |
checked, convertUnchecked, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhereTyped, fixTypeEverywhereTyped, fixTypeEverywhereTyped, fixTypeEverywhereTyped, getInputSchema, getOutputSchema, getRule, getVersionKey, onFail, writeAndRead, writeFixAndRead