Class BlockNameFix

java.lang.Object
com.mojang.datafixers.DataFix
net.minecraft.datafixer.fix.BlockNameFix
Direct Known Subclasses:
JigsawBlockNameFix

public abstract class BlockNameFix extends com.mojang.datafixers.DataFix
Mappings:
Namespace Name
official ain
intermediary net/minecraft/class_3579
named net/minecraft/datafixer/fix/BlockNameFix
  • Field Summary

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

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

    Modifier and Type
    Method
    Description
    static com.mojang.datafixers.DataFix
    create(com.mojang.datafixers.schemas.Schema oldSchema, String name, Function<String,String> rename)
     
    com.mojang.datafixers.TypeRewriteRule
     
    protected abstract String
    rename(String oldName)
     

    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
      official a Lain;a:Ljava/lang/String;
      intermediary field_15828 Lnet/minecraft/class_3579;field_15828:Ljava/lang/String;
      named name Lnet/minecraft/datafixer/fix/BlockNameFix;name:Ljava/lang/String;
  • Constructor Details

    • BlockNameFix

      public BlockNameFix(com.mojang.datafixers.schemas.Schema oldSchema, String name)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lain;<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()
      Specified by:
      makeRule in class com.mojang.datafixers.DataFix
    • rename

      protected abstract String rename(String oldName)
      Mappings:
      Namespace Name Mixin selector
      official a Lain;a(Ljava/lang/String;)Ljava/lang/String;
      intermediary method_15593 Lnet/minecraft/class_3579;method_15593(Ljava/lang/String;)Ljava/lang/String;
      named rename Lnet/minecraft/datafixer/fix/BlockNameFix;rename(Ljava/lang/String;)Ljava/lang/String;
    • create

      public static com.mojang.datafixers.DataFix create(com.mojang.datafixers.schemas.Schema oldSchema, String name, Function<String,String> rename)
      Mappings:
      Namespace Name Mixin selector
      official a Lain;a(Lcom/mojang/datafixers/schemas/Schema;Ljava/lang/String;Ljava/util/function/Function;)Lcom/mojang/datafixers/DataFix;
      intermediary method_15589 Lnet/minecraft/class_3579;method_15589(Lcom/mojang/datafixers/schemas/Schema;Ljava/lang/String;Ljava/util/function/Function;)Lcom/mojang/datafixers/DataFix;
      named create Lnet/minecraft/datafixer/fix/BlockNameFix;create(Lcom/mojang/datafixers/schemas/Schema;Ljava/lang/String;Ljava/util/function/Function;)Lcom/mojang/datafixers/DataFix;