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 named net/minecraft/datafixer/fix/AdvancementCriteriaRenameFix
intermediary net/minecraft/class_7370
official bec
-
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 named description
Lnet/minecraft/datafixer/fix/AdvancementCriteriaRenameFix;description:Ljava/lang/String;
intermediary field_38702
Lnet/minecraft/class_7370;field_38702:Ljava/lang/String;
official a
Lbec;a:Ljava/lang/String;
-
advancementId
- Mappings:
Namespace Name Mixin selector named advancementId
Lnet/minecraft/datafixer/fix/AdvancementCriteriaRenameFix;advancementId:Ljava/lang/String;
intermediary field_38703
Lnet/minecraft/class_7370;field_38703:Ljava/lang/String;
official b
Lbec;b:Ljava/lang/String;
-
renamer
- Mappings:
Namespace Name Mixin selector named renamer
Lnet/minecraft/datafixer/fix/AdvancementCriteriaRenameFix;renamer:Ljava/util/function/UnaryOperator;
intermediary field_38704
Lnet/minecraft/class_7370;field_38704:Ljava/util/function/UnaryOperator;
official c
Lbec;c: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 named <init>
Lnet/minecraft/datafixer/fix/AdvancementCriteriaRenameFix;<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
official <init>
Lbec;<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 named update
Lnet/minecraft/datafixer/fix/AdvancementCriteriaRenameFix;update(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;
official a
Lbec;a(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
-