Package net.minecraft.datafixer.fix
Class RenameItemStackAttributesFix
java.lang.Object
com.mojang.datafixers.DataFix
net.minecraft.datafixer.fix.RenameItemStackAttributesFix
public class RenameItemStackAttributesFix
extends com.mojang.datafixers.DataFix
-
Field Summary
-
Constructor Summary
Constructors Constructor Description RenameItemStackAttributesFix(com.mojang.datafixers.schemas.Schema outputSchema)
-
Method Summary
Modifier and Type Method 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)
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
-
RENAMES
-
-
Constructor Details
-
RenameItemStackAttributesFix
public RenameItemStackAttributesFix(com.mojang.datafixers.schemas.Schema outputSchema)
-
-
Method Details
-
makeRule
protected com.mojang.datafixers.TypeRewriteRule makeRule()- Specified by:
makeRule
in classcom.mojang.datafixers.DataFix
-
updateAttributeName
private static com.mojang.serialization.Dynamic<?> updateAttributeName(com.mojang.serialization.Dynamic<?> dynamic) -
updateAttributeModifiers
private static com.mojang.datafixers.Typed<?> updateAttributeModifiers(com.mojang.datafixers.Typed<?> typed) -
updatePlayerAttributes
private static com.mojang.datafixers.Typed<?> updatePlayerAttributes(com.mojang.datafixers.Typed<?> typed)
-