Package net.minecraft.datafixer.fix
Class AdvancementCriteriaRenameFix
java.lang.Object
com.mojang.datafixers.DataFix
net.minecraft.datafixer.fix.AdvancementCriteriaRenameFix
public class AdvancementCriteriaRenameFix
extends com.mojang.datafixers.DataFix
- Mappings:
Namespace Name official auy
intermediary net/minecraft/class_7370
named net/minecraft/datafixer/fix/AdvancementCriteriaRenameFix
-
Field Summary
Modifier and TypeFieldDescriptionprivate final String
private final String
private final UnaryOperator<String>
-
Constructor Summary
ConstructorDescriptionAdvancementCriteriaRenameFix
(com.mojang.datafixers.schemas.Schema outputSchema, String description, String advancementId, UnaryOperator<String> renamer) -
Method Summary
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 official a
Lauy;a:Ljava/lang/String;
intermediary field_38702
Lnet/minecraft/class_7370;field_38702:Ljava/lang/String;
named description
Lnet/minecraft/datafixer/fix/AdvancementCriteriaRenameFix;description:Ljava/lang/String;
-
advancementId
- Mappings:
Namespace Name Mixin selector official b
Lauy;b:Ljava/lang/String;
intermediary field_38703
Lnet/minecraft/class_7370;field_38703:Ljava/lang/String;
named advancementId
Lnet/minecraft/datafixer/fix/AdvancementCriteriaRenameFix;advancementId:Ljava/lang/String;
-
renamer
- Mappings:
Namespace Name Mixin selector official c
Lauy;c:Ljava/util/function/UnaryOperator;
intermediary field_38704
Lnet/minecraft/class_7370;field_38704:Ljava/util/function/UnaryOperator;
named renamer
Lnet/minecraft/datafixer/fix/AdvancementCriteriaRenameFix;renamer:Ljava/util/function/UnaryOperator;
-
-
Constructor Details
-
AdvancementCriteriaRenameFix
public AdvancementCriteriaRenameFix(com.mojang.datafixers.schemas.Schema outputSchema, String description, String advancementId, UnaryOperator<String> renamer) - Mappings:
Namespace Name Mixin selector official <init>
Lauy;<init>(Lcom/mojang/datafixers/schemas/Schema;Ljava/lang/String;Ljava/lang/String;Ljava/util/function/UnaryOperator;)V
intermediary <init>
Lnet/minecraft/class_7370;<init>(Lcom/mojang/datafixers/schemas/Schema;Ljava/lang/String;Ljava/lang/String;Ljava/util/function/UnaryOperator;)V
named <init>
Lnet/minecraft/datafixer/fix/AdvancementCriteriaRenameFix;<init>(Lcom/mojang/datafixers/schemas/Schema;Ljava/lang/String;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
-
update
private com.mojang.serialization.Dynamic<?> update(com.mojang.serialization.Dynamic<?> advancements) - Mappings:
Namespace Name Mixin selector official a
Lauy;a(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
intermediary method_43065
Lnet/minecraft/class_7370;method_43065(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
named update
Lnet/minecraft/datafixer/fix/AdvancementCriteriaRenameFix;update(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
-