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 arx
intermediary net/minecraft/class_7370
named net/minecraft/datafixer/fix/AdvancementCriteriaRenameFix
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final String
     
    private final String
     
    private final UnaryOperator<String>
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    AdvancementCriteriaRenameFix(com.mojang.datafixers.schemas.Schema schema, String description, String advancementId, UnaryOperator<String> renamer)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected com.mojang.datafixers.TypeRewriteRule
     
    private com.mojang.serialization.Dynamic<?>
    update(com.mojang.serialization.Dynamic<?> advancements)
     

    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • description

      private final String description
      Mappings:
      Namespace Name Mixin selector
      official a Larx;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

      private final String advancementId
      Mappings:
      Namespace Name Mixin selector
      official b Larx;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

      private final UnaryOperator<String> renamer
      Mappings:
      Namespace Name Mixin selector
      official c Larx;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 schema, String description, String advancementId, UnaryOperator<String> renamer)
      Mappings:
      Namespace Name Mixin selector
      official <init> Larx;<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 class com.mojang.datafixers.DataFix
    • update

      private com.mojang.serialization.Dynamic<?> update(com.mojang.serialization.Dynamic<?> advancements)
      Mappings:
      Namespace Name Mixin selector
      official a Larx;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;