Class RenameItemStackAttributesFix

java.lang.Object
com.mojang.datafixers.DataFix
net.minecraft.datafixer.fix.RenameItemStackAttributesFix

public class RenameItemStackAttributesFix
extends com.mojang.datafixers.DataFix
  • Field Summary

    Fields
    Modifier and Type Field Description
    private static Map<String,​String> RENAMES  
  • 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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • RenameItemStackAttributesFix

      public RenameItemStackAttributesFix​(com.mojang.datafixers.schemas.Schema outputSchema)
  • Method Details

    • makeRule

      protected com.mojang.datafixers.TypeRewriteRule makeRule()
      Specified by:
      makeRule in class com.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)