Class DirtPathRenameFix

java.lang.Object
com.mojang.datafixers.DataFix
net.minecraft.datafixer.fix.BlockNameFix
net.minecraft.datafixer.fix.DirtPathRenameFix

public abstract class DirtPathRenameFix
extends BlockNameFix
Mappings:
Namespace Name
official ahq
intermediary net/minecraft/class_5527
named net/minecraft/datafixer/fix/DirtPathRenameFix
  • Field Summary

    Fields
    Modifier and Type Field Description
    private String nameCopy  
  • Constructor Summary

    Constructors
    Constructor Description
    DirtPathRenameFix​(com.mojang.datafixers.schemas.Schema oldSchema, String name)
  • Method Summary

    Modifier and Type Method Description
    static com.mojang.datafixers.DataFix createDirtPathRenameFix​(com.mojang.datafixers.schemas.Schema schema, String string, Function<String,​String> function)  
    com.mojang.datafixers.TypeRewriteRule makeRule()

    Methods inherited from class net.minecraft.datafixer.fix.BlockNameFix

    create, rename

    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

    • nameCopy

      private final String nameCopy
      Mappings:
      Namespace Name Mixin selector
      official a Lahq;a:Ljava/lang/String;
      intermediary field_26991 Lnet/minecraft/class_5527;field_26991:Ljava/lang/String;
      named nameCopy Lnet/minecraft/datafixer/fix/DirtPathRenameFix;nameCopy:Ljava/lang/String;
  • Constructor Details

    • DirtPathRenameFix

      public DirtPathRenameFix​(com.mojang.datafixers.schemas.Schema oldSchema, String name)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lahp;<init>(Lcom/mojang/datafixers/schemas/Schema;Ljava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_3579;<init>(Lcom/mojang/datafixers/schemas/Schema;Ljava/lang/String;)V
      named <init> Lnet/minecraft/datafixer/fix/BlockNameFix;<init>(Lcom/mojang/datafixers/schemas/Schema;Ljava/lang/String;)V
  • Method Details

    • makeRule

      public com.mojang.datafixers.TypeRewriteRule makeRule()
      Overrides:
      makeRule in class BlockNameFix
      Mappings:
      Namespace Name Mixin selector
      official makeRule Lahp;makeRule()Lcom/mojang/datafixers/TypeRewriteRule;
      intermediary makeRule Lnet/minecraft/class_3579;makeRule()Lcom/mojang/datafixers/TypeRewriteRule;
      named makeRule Lnet/minecraft/datafixer/fix/BlockNameFix;makeRule()Lcom/mojang/datafixers/TypeRewriteRule;
    • createDirtPathRenameFix

      public static com.mojang.datafixers.DataFix createDirtPathRenameFix​(com.mojang.datafixers.schemas.Schema schema, String string, Function<String,​String> function)
      Mappings:
      Namespace Name Mixin selector
      official b Lahq;b(Lcom/mojang/datafixers/schemas/Schema;Ljava/lang/String;Ljava/util/function/Function;)Lcom/mojang/datafixers/DataFix;
      intermediary method_31446 Lnet/minecraft/class_5527;method_31446(Lcom/mojang/datafixers/schemas/Schema;Ljava/lang/String;Ljava/util/function/Function;)Lcom/mojang/datafixers/DataFix;
      named createDirtPathRenameFix Lnet/minecraft/datafixer/fix/DirtPathRenameFix;createDirtPathRenameFix(Lcom/mojang/datafixers/schemas/Schema;Ljava/lang/String;Ljava/util/function/Function;)Lcom/mojang/datafixers/DataFix;