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
named net/minecraft/datafixer/fix/RenameBlockEntityFix
intermediary net/minecraft/class_8220
official bcx
  • 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
      named name Lnet/minecraft/datafixer/fix/RenameBlockEntityFix;name:Ljava/lang/String;
      intermediary field_43174 Lnet/minecraft/class_8220;field_43174:Ljava/lang/String;
      official a Lbcx;a:Ljava/lang/String;
    • renamer

      private final UnaryOperator<String> renamer
      Mappings:
      Namespace Name Mixin selector
      named renamer Lnet/minecraft/datafixer/fix/RenameBlockEntityFix;renamer:Ljava/util/function/UnaryOperator;
      intermediary field_43175 Lnet/minecraft/class_8220;field_43175:Ljava/util/function/UnaryOperator;
      official b Lbcx;b: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
      named <init> Lnet/minecraft/datafixer/fix/RenameBlockEntityFix;<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
      official <init> Lbcx;<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
      named create Lnet/minecraft/datafixer/fix/RenameBlockEntityFix;create(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;
      official a Lbcx;a(Lcom/mojang/datafixers/schemas/Schema;Ljava/lang/String;Ljava/util/function/UnaryOperator;)Lcom/mojang/datafixers/DataFix;