类 EntityRenameFix

java.lang.Object
com.mojang.datafixers.DataFix
net.minecraft.util.datafix.fixes.EntityRenameFix
直接已知子类:
EntityHorseSplitFix, SimpleEntityRenameFix

public abstract class EntityRenameFix extends com.mojang.datafixers.DataFix
  • 字段概要

    字段
    修饰符和类型
    字段
    说明
    protected final String
     
  • 构造器概要

    构造器
    构造器
    说明
    EntityRenameFix(String pName, com.mojang.datafixers.schemas.Schema pOutputSchema, boolean pChangesType)
     
  • 方法概要

    修饰符和类型
    方法
    说明
    protected abstract com.mojang.datafixers.util.Pair<String,com.mojang.datafixers.Typed<?>>
    fix(String pEntityName, com.mojang.datafixers.Typed<?> pTyped)
     
    private <A> com.mojang.datafixers.Typed<A>
    getEntity(Object pValue, com.mojang.serialization.DynamicOps<?> pOps, com.mojang.datafixers.types.Type<A> pType)
     
    com.mojang.datafixers.TypeRewriteRule
     

    从类继承的方法 com.mojang.datafixers.DataFix

    checked, convertUnchecked, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhereTyped, fixTypeEverywhereTyped, fixTypeEverywhereTyped, fixTypeEverywhereTyped, getInputSchema, getOutputSchema, getRule, getVersionKey, onFail, writeAndRead, writeFixAndRead

    从类继承的方法 java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 字段详细资料

    • name

      protected final String name
  • 构造器详细资料

    • EntityRenameFix

      public EntityRenameFix(String pName, com.mojang.datafixers.schemas.Schema pOutputSchema, boolean pChangesType)
  • 方法详细资料

    • makeRule

      public com.mojang.datafixers.TypeRewriteRule makeRule()
      指定者:
      makeRule 在类中 com.mojang.datafixers.DataFix
    • getEntity

      private <A> com.mojang.datafixers.Typed<A> getEntity(Object pValue, com.mojang.serialization.DynamicOps<?> pOps, com.mojang.datafixers.types.Type<A> pType)
    • fix

      protected abstract com.mojang.datafixers.util.Pair<String,com.mojang.datafixers.Typed<?>> fix(String pEntityName, com.mojang.datafixers.Typed<?> pTyped)