Class SimpleEntityRenameFix

java.lang.Object
com.mojang.datafixers.DataFix
net.minecraft.util.datafix.fixes.EntityRenameFix
net.minecraft.util.datafix.fixes.SimpleEntityRenameFix
Direct Known Subclasses:
EntityCatSplitFix, EntityElderGuardianSplitFix, EntitySkeletonSplitFix

public abstract class SimpleEntityRenameFix extends EntityRenameFix
  • Field Summary

    Fields inherited from class net.minecraft.util.datafix.fixes.EntityRenameFix

    name
  • Constructor Summary

    Constructors
    Constructor
    Description
    SimpleEntityRenameFix(String p_16901_, com.mojang.datafixers.schemas.Schema p_16902_, boolean p_16903_)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected com.mojang.datafixers.util.Pair<String,com.mojang.datafixers.Typed<?>>
    fix(String p_16905_, com.mojang.datafixers.Typed<?> p_16906_)
     
    protected abstract com.mojang.datafixers.util.Pair<String,com.mojang.serialization.Dynamic<?>>
    getNewNameAndTag(String p_16907_, com.mojang.serialization.Dynamic<?> p_16908_)
     

    Methods inherited from class net.minecraft.util.datafix.fixes.EntityRenameFix

    makeRule

    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
  • Constructor Details

    • SimpleEntityRenameFix

      public SimpleEntityRenameFix(String p_16901_, com.mojang.datafixers.schemas.Schema p_16902_, boolean p_16903_)
  • Method Details

    • fix

      protected com.mojang.datafixers.util.Pair<String,com.mojang.datafixers.Typed<?>> fix(String p_16905_, com.mojang.datafixers.Typed<?> p_16906_)
      Specified by:
      fix in class EntityRenameFix
    • getNewNameAndTag

      protected abstract com.mojang.datafixers.util.Pair<String,com.mojang.serialization.Dynamic<?>> getNewNameAndTag(String p_16907_, com.mojang.serialization.Dynamic<?> p_16908_)