Class EntityRenameFix

java.lang.Object
com.mojang.datafixers.DataFix
net.minecraft.datafixer.fix.EntityRenameFix
Direct Known Subclasses:
EntityCodSalmonFix, EntityPufferfishRenameFix, EntityRavagerRenameFix, EntityTheRenameningBlockFix, EntityTippedArrowFix, EntityZombifiedPiglinRenameFix

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

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

    Constructors
    Constructor
    Description
    EntityRenameFix(String name, com.mojang.datafixers.schemas.Schema outputSchema, boolean changesType)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    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 Lazh;a:Ljava/lang/String;
      intermediary field_5734 Lnet/minecraft/class_1211;field_5734:Ljava/lang/String;
      named name Lnet/minecraft/datafixer/fix/EntityRenameFix;name:Ljava/lang/String;
  • Constructor Details

    • EntityRenameFix

      public EntityRenameFix(String name, com.mojang.datafixers.schemas.Schema outputSchema, boolean changesType)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lazh;<init>(Ljava/lang/String;Lcom/mojang/datafixers/schemas/Schema;Z)V
      intermediary <init> Lnet/minecraft/class_1211;<init>(Ljava/lang/String;Lcom/mojang/datafixers/schemas/Schema;Z)V
      named <init> Lnet/minecraft/datafixer/fix/EntityRenameFix;<init>(Ljava/lang/String;Lcom/mojang/datafixers/schemas/Schema;Z)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 Lazh;a(Ljava/lang/String;)Ljava/lang/String;
      intermediary method_5163 Lnet/minecraft/class_1211;method_5163(Ljava/lang/String;)Ljava/lang/String;
      named rename Lnet/minecraft/datafixer/fix/EntityRenameFix;rename(Ljava/lang/String;)Ljava/lang/String;