Package net.minecraft.datafixer.fix
Class AdvancementRenameFix
java.lang.Object
com.mojang.datafixers.DataFix
net.minecraft.datafixer.fix.AdvancementRenameFix
- Direct Known Subclasses:
AdvancementsFix
public class AdvancementRenameFix
extends com.mojang.datafixers.DataFix
- Mappings:
Namespace Name official akl
intermediary net/minecraft/class_4744
named net/minecraft/datafixer/fix/AdvancementRenameFix
-
Field Summary
-
Constructor Summary
ConstructorDescriptionAdvancementRenameFix
(com.mojang.datafixers.schemas.Schema outputSchema, boolean changesType, String name, Function<String, 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
-
name
- Mappings:
Namespace Name Mixin selector official a
Lakl;a:Ljava/lang/String;
intermediary field_21814
Lnet/minecraft/class_4744;field_21814:Ljava/lang/String;
named name
Lnet/minecraft/datafixer/fix/AdvancementRenameFix;name:Ljava/lang/String;
-
renamer
- Mappings:
Namespace Name Mixin selector official b
Lakl;b:Ljava/util/function/Function;
intermediary field_21815
Lnet/minecraft/class_4744;field_21815:Ljava/util/function/Function;
named renamer
Lnet/minecraft/datafixer/fix/AdvancementRenameFix;renamer:Ljava/util/function/Function;
-
-
Constructor Details
-
AdvancementRenameFix
public AdvancementRenameFix(com.mojang.datafixers.schemas.Schema outputSchema, boolean changesType, String name, Function<String, String> renamer) - Mappings:
Namespace Name Mixin selector official <init>
Lakl;<init>(Lcom/mojang/datafixers/schemas/Schema;ZLjava/lang/String;Ljava/util/function/Function;)V
intermediary <init>
Lnet/minecraft/class_4744;<init>(Lcom/mojang/datafixers/schemas/Schema;ZLjava/lang/String;Ljava/util/function/Function;)V
named <init>
Lnet/minecraft/datafixer/fix/AdvancementRenameFix;<init>(Lcom/mojang/datafixers/schemas/Schema;ZLjava/lang/String;Ljava/util/function/Function;)V
-
-
Method Details
-
makeRule
protected com.mojang.datafixers.TypeRewriteRule makeRule()- Specified by:
makeRule
in classcom.mojang.datafixers.DataFix
-