public class ItemStackEnchantmentFix
extends com.mojang.datafixers.DataFix
| Modifier and Type | Field and Description |
|---|---|
private static it.unimi.dsi.fastutil.ints.Int2ObjectMap<String> |
ID_TO_ENCHANTMENTS_MAP |
| Constructor and Description |
|---|
ItemStackEnchantmentFix(com.mojang.datafixers.schemas.Schema outputSchema,
boolean changesType) |
| Modifier and Type | Method and Description |
|---|---|
private com.mojang.serialization.Dynamic<?> |
fixEnchantments(com.mojang.serialization.Dynamic<?> dynamic) |
protected com.mojang.datafixers.TypeRewriteRule |
makeRule() |
checked, convertUnchecked, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhereTyped, fixTypeEverywhereTyped, fixTypeEverywhereTyped, fixTypeEverywhereTyped, getInputSchema, getOutputSchema, getRule, getVersionKey, onFail, writeAndRead, writeFixAndReadprivate static final it.unimi.dsi.fastutil.ints.Int2ObjectMap<String> ID_TO_ENCHANTMENTS_MAP