Package net.minecraft.datafixer.fix
Class AttributeRenameFix
java.lang.Object
com.mojang.datafixers.DataFix
net.minecraft.datafixer.fix.AttributeRenameFix
- Direct Known Subclasses:
AttributeIdPrefixFix
public class AttributeRenameFix
extends com.mojang.datafixers.DataFix
- Mappings:
Namespace Name named net/minecraft/datafixer/fix/AttributeRenameFix
intermediary net/minecraft/class_9853
official bch
-
Field Summary
-
Constructor Summary
ConstructorDescriptionAttributeRenameFix
(com.mojang.datafixers.schemas.Schema outputSchema, String name, UnaryOperator<String> renamer) -
Method Summary
Modifier and TypeMethodDescriptionprivate com.mojang.datafixers.Typed
<?> applyToComponents
(com.mojang.datafixers.Typed<?> typed) private com.mojang.datafixers.Typed
<?> applyToEntity
(com.mojang.datafixers.Typed<?> typed) private com.mojang.serialization.Dynamic
<?> applyToIdField
(com.mojang.serialization.Dynamic<?> dynamic) private com.mojang.serialization.Dynamic
<?> applyToTypeField
(com.mojang.serialization.Dynamic<?> dynamic) protected com.mojang.datafixers.TypeRewriteRule
makeRule()
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
-
name
- Mappings:
Namespace Name Mixin selector named name
Lnet/minecraft/datafixer/fix/AttributeRenameFix;name:Ljava/lang/String;
intermediary field_52399
Lnet/minecraft/class_9853;field_52399:Ljava/lang/String;
official a
Lbch;a:Ljava/lang/String;
-
renamer
- Mappings:
Namespace Name Mixin selector named renamer
Lnet/minecraft/datafixer/fix/AttributeRenameFix;renamer:Ljava/util/function/UnaryOperator;
intermediary field_52400
Lnet/minecraft/class_9853;field_52400:Ljava/util/function/UnaryOperator;
official b
Lbch;b:Ljava/util/function/UnaryOperator;
-
-
Constructor Details
-
AttributeRenameFix
public AttributeRenameFix(com.mojang.datafixers.schemas.Schema outputSchema, String name, UnaryOperator<String> renamer) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/datafixer/fix/AttributeRenameFix;<init>(Lcom/mojang/datafixers/schemas/Schema;Ljava/lang/String;Ljava/util/function/UnaryOperator;)V
intermediary <init>
Lnet/minecraft/class_9853;<init>(Lcom/mojang/datafixers/schemas/Schema;Ljava/lang/String;Ljava/util/function/UnaryOperator;)V
official <init>
Lbch;<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
-
applyToComponents
private com.mojang.datafixers.Typed<?> applyToComponents(com.mojang.datafixers.Typed<?> typed) - Mappings:
Namespace Name Mixin selector named applyToComponents
Lnet/minecraft/datafixer/fix/AttributeRenameFix;applyToComponents(Lcom/mojang/datafixers/Typed;)Lcom/mojang/datafixers/Typed;
intermediary method_61360
Lnet/minecraft/class_9853;method_61360(Lcom/mojang/datafixers/Typed;)Lcom/mojang/datafixers/Typed;
official a
Lbch;a(Lcom/mojang/datafixers/Typed;)Lcom/mojang/datafixers/Typed;
-
applyToEntity
private com.mojang.datafixers.Typed<?> applyToEntity(com.mojang.datafixers.Typed<?> typed) - Mappings:
Namespace Name Mixin selector named applyToEntity
Lnet/minecraft/datafixer/fix/AttributeRenameFix;applyToEntity(Lcom/mojang/datafixers/Typed;)Lcom/mojang/datafixers/Typed;
intermediary method_61363
Lnet/minecraft/class_9853;method_61363(Lcom/mojang/datafixers/Typed;)Lcom/mojang/datafixers/Typed;
official b
Lbch;b(Lcom/mojang/datafixers/Typed;)Lcom/mojang/datafixers/Typed;
-
applyToIdField
private com.mojang.serialization.Dynamic<?> applyToIdField(com.mojang.serialization.Dynamic<?> dynamic) - Mappings:
Namespace Name Mixin selector named applyToIdField
Lnet/minecraft/datafixer/fix/AttributeRenameFix;applyToIdField(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
intermediary method_61361
Lnet/minecraft/class_9853;method_61361(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
official a
Lbch;a(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
-
applyToTypeField
private com.mojang.serialization.Dynamic<?> applyToTypeField(com.mojang.serialization.Dynamic<?> dynamic) - Mappings:
Namespace Name Mixin selector named applyToTypeField
Lnet/minecraft/datafixer/fix/AttributeRenameFix;applyToTypeField(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
intermediary method_61364
Lnet/minecraft/class_9853;method_61364(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
official b
Lbch;b(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
-