类 NamedEntityWriteReadFix

java.lang.Object
com.mojang.datafixers.DataFix
net.minecraft.util.datafix.fixes.NamedEntityWriteReadFix
直接已知子类:
HorseBodyArmorItemFix, PrimedTntBlockStateFixer, RemoveEmptyItemInBrushableBlockFix, TippedArrowPotionToItemFix, TrialSpawnerConfigFix

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

    字段
    修饰符和类型
    字段
    说明
    private final String
     
    private final String
     
    private final com.mojang.datafixers.DSL.TypeReference
     
  • 构造器概要

    构造器
    构造器
    说明
    NamedEntityWriteReadFix(com.mojang.datafixers.schemas.Schema p_310297_, boolean p_312818_, String p_313129_, com.mojang.datafixers.DSL.TypeReference p_311108_, String p_313092_)
     
  • 方法概要

    修饰符和类型
    方法
    说明
    private <S, T, A, B>
    com.mojang.datafixers.TypeRewriteRule
    fix(com.mojang.datafixers.types.Type<S> p_334263_, com.mojang.datafixers.types.Type<T> p_329342_, com.mojang.datafixers.OpticFinder<A> p_329193_, com.mojang.datafixers.types.Type<B> p_333979_, com.mojang.datafixers.types.Type<?> p_327956_)
     
    protected abstract <T> com.mojang.serialization.Dynamic<T>
    fix(com.mojang.serialization.Dynamic<T> p_310304_)
     
    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

      private final String name
    • entityName

      private final String entityName
    • type

      private final com.mojang.datafixers.DSL.TypeReference type
  • 构造器详细资料

    • NamedEntityWriteReadFix

      public NamedEntityWriteReadFix(com.mojang.datafixers.schemas.Schema p_310297_, boolean p_312818_, String p_313129_, com.mojang.datafixers.DSL.TypeReference p_311108_, String p_313092_)
  • 方法详细资料

    • makeRule

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

      private <S, T, A, B> com.mojang.datafixers.TypeRewriteRule fix(com.mojang.datafixers.types.Type<S> p_334263_, com.mojang.datafixers.types.Type<T> p_329342_, com.mojang.datafixers.OpticFinder<A> p_329193_, com.mojang.datafixers.types.Type<B> p_333979_, com.mojang.datafixers.types.Type<?> p_327956_)
    • fix

      protected abstract <T> com.mojang.serialization.Dynamic<T> fix(com.mojang.serialization.Dynamic<T> p_310304_)