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
named net/minecraft/datafixer/fix/AdvancementRenameFix
intermediary net/minecraft/class_4744
official bar
  • Field Summary

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

    Constructors
    Constructor
    Description
    AdvancementRenameFix(com.mojang.datafixers.schemas.Schema outputSchema, boolean changesType, String name, Function<String,String> renamer)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected com.mojang.datafixers.TypeRewriteRule
     

    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

    • name

      private final String name
      Mappings:
      Namespace Name Mixin selector
      named name Lnet/minecraft/datafixer/fix/AdvancementRenameFix;name:Ljava/lang/String;
      intermediary field_21814 Lnet/minecraft/class_4744;field_21814:Ljava/lang/String;
      official a Lbar;a:Ljava/lang/String;
    • renamer

      private final Function<String,String> renamer
      Mappings:
      Namespace Name Mixin selector
      named renamer Lnet/minecraft/datafixer/fix/AdvancementRenameFix;renamer:Ljava/util/function/Function;
      intermediary field_21815 Lnet/minecraft/class_4744;field_21815:Ljava/util/function/Function;
      official b Lbar;b: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
      named <init> Lnet/minecraft/datafixer/fix/AdvancementRenameFix;<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
      official <init> Lbar;<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 class com.mojang.datafixers.DataFix