Class RenameEntityAttributesFix

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

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

    Fields
    Modifier and Type
    Field
    Description
    private final String
     
    private final UnaryOperator<String>
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    RenameEntityAttributesFix(com.mojang.datafixers.schemas.Schema outputSchema, String description, UnaryOperator<String> renames)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected com.mojang.datafixers.TypeRewriteRule
     
    private com.mojang.datafixers.Typed<?>
    updateAttributeModifiers(com.mojang.datafixers.Typed<?> tagTyped)
     
    private com.mojang.serialization.Dynamic<?>
    updateAttributeName(com.mojang.serialization.Dynamic<?> attributeNameDynamic)
     
    private com.mojang.datafixers.Typed<?>
    updateEntityAttributes(com.mojang.datafixers.Typed<?> entityTyped)
     

    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

    • description

      private final String description
      Mappings:
      Namespace Name Mixin selector
      named description Lnet/minecraft/datafixer/fix/RenameEntityAttributesFix;description:Ljava/lang/String;
      intermediary field_49056 Lnet/minecraft/class_5129;field_49056:Ljava/lang/String;
      official a Lbci;a:Ljava/lang/String;
    • renames

      private final UnaryOperator<String> renames
      Mappings:
      Namespace Name Mixin selector
      named renames Lnet/minecraft/datafixer/fix/RenameEntityAttributesFix;renames:Ljava/util/function/UnaryOperator;
      intermediary field_23695 Lnet/minecraft/class_5129;field_23695:Ljava/util/function/UnaryOperator;
      official b Lbci;b:Ljava/util/function/UnaryOperator;
  • Constructor Details

    • RenameEntityAttributesFix

      public RenameEntityAttributesFix(com.mojang.datafixers.schemas.Schema outputSchema, String description, UnaryOperator<String> renames)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/datafixer/fix/RenameEntityAttributesFix;<init>(Lcom/mojang/datafixers/schemas/Schema;Ljava/lang/String;Ljava/util/function/UnaryOperator;)V
      intermediary <init> Lnet/minecraft/class_5129;<init>(Lcom/mojang/datafixers/schemas/Schema;Ljava/lang/String;Ljava/util/function/UnaryOperator;)V
      official <init> Lbci;<init>(Lcom/mojang/datafixers/schemas/Schema;Ljava/lang/String;Ljava/util/function/UnaryOperator;)V
  • Method Details

    • makeRule

      protected com.mojang.datafixers.TypeRewriteRule makeRule()
      Specified by:
      makeRule in class com.mojang.datafixers.DataFix
    • updateAttributeName

      private com.mojang.serialization.Dynamic<?> updateAttributeName(com.mojang.serialization.Dynamic<?> attributeNameDynamic)
      Mappings:
      Namespace Name Mixin selector
      named updateAttributeName Lnet/minecraft/datafixer/fix/RenameEntityAttributesFix;updateAttributeName(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;
      official a Lbci;a(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
    • updateAttributeModifiers

      private com.mojang.datafixers.Typed<?> updateAttributeModifiers(com.mojang.datafixers.Typed<?> tagTyped)
      Mappings:
      Namespace Name Mixin selector
      named updateAttributeModifiers Lnet/minecraft/datafixer/fix/RenameEntityAttributesFix;updateAttributeModifiers(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;
      official a Lbci;a(Lcom/mojang/datafixers/Typed;)Lcom/mojang/datafixers/Typed;
    • updateEntityAttributes

      private com.mojang.datafixers.Typed<?> updateEntityAttributes(com.mojang.datafixers.Typed<?> entityTyped)
      Mappings:
      Namespace Name Mixin selector
      named updateEntityAttributes Lnet/minecraft/datafixer/fix/RenameEntityAttributesFix;updateEntityAttributes(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;
      official b Lbci;b(Lcom/mojang/datafixers/Typed;)Lcom/mojang/datafixers/Typed;