Package net.minecraft.datafixer.fix
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 baj
-
Field Summary
-
Constructor Summary
ConstructorDescriptionRenameEntityAttributesFix
(com.mojang.datafixers.schemas.Schema outputSchema, String description, UnaryOperator<String> renames) -
Method Summary
Modifier and TypeMethodDescriptionprotected com.mojang.datafixers.TypeRewriteRule
makeRule()
private com.mojang.datafixers.Typed
<?> updateAttributeModifiers
(com.mojang.datafixers.Typed<?> typed) private com.mojang.serialization.Dynamic
<?> updateAttributeName
(com.mojang.serialization.Dynamic<?> dynamic) private com.mojang.datafixers.Typed
<?> updateEntityAttributes
(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
-
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
Lbaj;a:Ljava/lang/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
Lbaj;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>
Lbaj;<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 classcom.mojang.datafixers.DataFix
-
updateAttributeName
private com.mojang.serialization.Dynamic<?> updateAttributeName(com.mojang.serialization.Dynamic<?> dynamic) - 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
Lbaj;a(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
-
updateAttributeModifiers
private com.mojang.datafixers.Typed<?> updateAttributeModifiers(com.mojang.datafixers.Typed<?> typed) - 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
Lbaj;a(Lcom/mojang/datafixers/Typed;)Lcom/mojang/datafixers/Typed;
-
updateEntityAttributes
private com.mojang.datafixers.Typed<?> updateEntityAttributes(com.mojang.datafixers.Typed<?> typed) - 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
Lbaj;b(Lcom/mojang/datafixers/Typed;)Lcom/mojang/datafixers/Typed;
-