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 bca
  • 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 outputSchema, 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
      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 Lbca;a:Ljava/lang/String;
    • advancementId

      private final 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 Lbca;b:Ljava/lang/String;
    • renamer

      private final UnaryOperator<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 Lbca;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> Lbca;<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
      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 Lbca;a(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;