Class RenameItemStackAttributesFix

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

public class RenameItemStackAttributesFix extends com.mojang.datafixers.DataFix
Mappings:
Namespace Name
official aqm
intermediary net/minecraft/class_5129
named net/minecraft/datafixer/fix/RenameItemStackAttributesFix
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private static final Map<String,String>
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    RenameItemStackAttributesFix(com.mojang.datafixers.schemas.Schema outputSchema)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected com.mojang.datafixers.TypeRewriteRule
     
    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

    • RENAMES

      private static final Map<String,String> RENAMES
      Mappings:
      Namespace Name Mixin selector
      official a Laqm;a:Ljava/util/Map;
      intermediary field_23695 Lnet/minecraft/class_5129;field_23695:Ljava/util/Map;
      named RENAMES Lnet/minecraft/datafixer/fix/RenameItemStackAttributesFix;RENAMES:Ljava/util/Map;
  • Constructor Details

    • RenameItemStackAttributesFix

      public RenameItemStackAttributesFix(com.mojang.datafixers.schemas.Schema outputSchema)
      Mappings:
      Namespace Name Mixin selector
      official <init> Laqm;<init>(Lcom/mojang/datafixers/schemas/Schema;)V
      intermediary <init> Lnet/minecraft/class_5129;<init>(Lcom/mojang/datafixers/schemas/Schema;)V
      named <init> Lnet/minecraft/datafixer/fix/RenameItemStackAttributesFix;<init>(Lcom/mojang/datafixers/schemas/Schema;)V
  • 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)
      Mappings:
      Namespace Name Mixin selector
      official a Laqm;a(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
      intermediary method_26808 Lnet/minecraft/class_5129;method_26808(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
      named updateAttributeName Lnet/minecraft/datafixer/fix/RenameItemStackAttributesFix;updateAttributeName(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
    • updateAttributeModifiers

      private static com.mojang.datafixers.Typed<?> updateAttributeModifiers(com.mojang.datafixers.Typed<?> typed)
      Mappings:
      Namespace Name Mixin selector
      official a Laqm;a(Lcom/mojang/datafixers/Typed;)Lcom/mojang/datafixers/Typed;
      intermediary method_26810 Lnet/minecraft/class_5129;method_26810(Lcom/mojang/datafixers/Typed;)Lcom/mojang/datafixers/Typed;
      named updateAttributeModifiers Lnet/minecraft/datafixer/fix/RenameItemStackAttributesFix;updateAttributeModifiers(Lcom/mojang/datafixers/Typed;)Lcom/mojang/datafixers/Typed;
    • updatePlayerAttributes

      private static com.mojang.datafixers.Typed<?> updatePlayerAttributes(com.mojang.datafixers.Typed<?> typed)
      Mappings:
      Namespace Name Mixin selector
      official b Laqm;b(Lcom/mojang/datafixers/Typed;)Lcom/mojang/datafixers/Typed;
      intermediary method_26814 Lnet/minecraft/class_5129;method_26814(Lcom/mojang/datafixers/Typed;)Lcom/mojang/datafixers/Typed;
      named updatePlayerAttributes Lnet/minecraft/datafixer/fix/RenameItemStackAttributesFix;updatePlayerAttributes(Lcom/mojang/datafixers/Typed;)Lcom/mojang/datafixers/Typed;