Class RenameBlockEntityFix

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

public class RenameBlockEntityFix extends com.mojang.datafixers.DataFix
Mappings:
Namespace Name
official aqw
intermediary net/minecraft/class_8220
named net/minecraft/datafixer/fix/RenameBlockEntityFix
  • Field Summary

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

    Constructors
    Modifier
    Constructor
    Description
    private
    RenameBlockEntityFix(com.mojang.datafixers.schemas.Schema outputSchema, String name, UnaryOperator<String> renamer)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static com.mojang.datafixers.DataFix
    create(com.mojang.datafixers.schemas.Schema outputSchema, String name, UnaryOperator<String> renamer)
     
    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
      official a Laqw;a:Ljava/lang/String;
      intermediary field_43174 Lnet/minecraft/class_8220;field_43174:Ljava/lang/String;
      named name Lnet/minecraft/datafixer/fix/RenameBlockEntityFix;name:Ljava/lang/String;
    • renamer

      private final UnaryOperator<String> renamer
      Mappings:
      Namespace Name Mixin selector
      official b Laqw;b:Ljava/util/function/UnaryOperator;
      intermediary field_43175 Lnet/minecraft/class_8220;field_43175:Ljava/util/function/UnaryOperator;
      named renamer Lnet/minecraft/datafixer/fix/RenameBlockEntityFix;renamer:Ljava/util/function/UnaryOperator;
  • Constructor Details

    • RenameBlockEntityFix

      private RenameBlockEntityFix(com.mojang.datafixers.schemas.Schema outputSchema, String name, UnaryOperator<String> renamer)
      Mappings:
      Namespace Name Mixin selector
      official <init> Laqw;<init>(Lcom/mojang/datafixers/schemas/Schema;Ljava/lang/String;Ljava/util/function/UnaryOperator;)V
      intermediary <init> Lnet/minecraft/class_8220;<init>(Lcom/mojang/datafixers/schemas/Schema;Ljava/lang/String;Ljava/util/function/UnaryOperator;)V
      named <init> Lnet/minecraft/datafixer/fix/RenameBlockEntityFix;<init>(Lcom/mojang/datafixers/schemas/Schema;Ljava/lang/String;Ljava/util/function/UnaryOperator;)V
  • Method Details

    • makeRule

      public com.mojang.datafixers.TypeRewriteRule makeRule()
      Specified by:
      makeRule in class com.mojang.datafixers.DataFix
    • create

      public static com.mojang.datafixers.DataFix create(com.mojang.datafixers.schemas.Schema outputSchema, String name, UnaryOperator<String> renamer)
      Mappings:
      Namespace Name Mixin selector
      official a Laqw;a(Lcom/mojang/datafixers/schemas/Schema;Ljava/lang/String;Ljava/util/function/UnaryOperator;)Lcom/mojang/datafixers/DataFix;
      intermediary method_49756 Lnet/minecraft/class_8220;method_49756(Lcom/mojang/datafixers/schemas/Schema;Ljava/lang/String;Ljava/util/function/UnaryOperator;)Lcom/mojang/datafixers/DataFix;
      named create Lnet/minecraft/datafixer/fix/RenameBlockEntityFix;create(Lcom/mojang/datafixers/schemas/Schema;Ljava/lang/String;Ljava/util/function/UnaryOperator;)Lcom/mojang/datafixers/DataFix;