public class RenameItemStackAttributesFix
extends com.mojang.datafixers.DataFix
Modifier and Type | Field and Description |
---|---|
private static Map<String,String> |
RENAMES |
Constructor and Description |
---|
RenameItemStackAttributesFix(com.mojang.datafixers.schemas.Schema outputSchema) |
Modifier and Type | Method and Description |
---|---|
protected com.mojang.datafixers.TypeRewriteRule |
makeRule() |
private static com.mojang.datafixers.Typed<?> |
updateAttributeModifiers(com.mojang.datafixers.Typed<?> typed) |
private static com.mojang.serialization.Dynamic<?> |
updateAttributeName(com.mojang.serialization.Dynamic<?> dynamic) |
private static com.mojang.datafixers.Typed<?> |
updatePlayerAttributes(com.mojang.datafixers.Typed<?> typed) |
checked, convertUnchecked, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhereTyped, fixTypeEverywhereTyped, fixTypeEverywhereTyped, fixTypeEverywhereTyped, getInputSchema, getOutputSchema, getRule, getVersionKey, onFail, writeAndRead, writeFixAndRead
public RenameItemStackAttributesFix(com.mojang.datafixers.schemas.Schema outputSchema)
protected com.mojang.datafixers.TypeRewriteRule makeRule()
makeRule
in class com.mojang.datafixers.DataFix
private static com.mojang.serialization.Dynamic<?> updateAttributeName(com.mojang.serialization.Dynamic<?> dynamic)
private static com.mojang.datafixers.Typed<?> updateAttributeModifiers(com.mojang.datafixers.Typed<?> typed)
private static com.mojang.datafixers.Typed<?> updatePlayerAttributes(com.mojang.datafixers.Typed<?> typed)