类 ItemStackTagFix

java.lang.Object
com.mojang.datafixers.DataFix
net.minecraft.util.datafix.fixes.ItemStackTagFix
直接已知子类:
FilteredBooksFix, ItemStackTagRemainderFix, OminousBannerRenameFix, WrittenBookPagesStrictJsonFix

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

    字段
    修饰符和类型
    字段
    说明
    private final Predicate<String>
     
    private final String
     
  • 构造器概要

    构造器
    构造器
    说明
    ItemStackTagFix(com.mojang.datafixers.schemas.Schema p_216682_, String p_216683_, Predicate<String> p_216684_)
     
  • 方法概要

    修饰符和类型
    方法
    说明
    static UnaryOperator<com.mojang.datafixers.Typed<?>>
    createFixer(com.mojang.datafixers.types.Type<?> p_326099_, Predicate<String> p_326164_, UnaryOperator<com.mojang.datafixers.Typed<?>> p_326258_)
     
    protected abstract com.mojang.datafixers.Typed<?>
    fixItemStackTag(com.mojang.datafixers.Typed<?> p_394093_)
     
    final 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
  • 字段详细资料

  • 构造器详细资料

    • ItemStackTagFix

      public ItemStackTagFix(com.mojang.datafixers.schemas.Schema p_216682_, String p_216683_, Predicate<String> p_216684_)
  • 方法详细资料

    • makeRule

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

      public static UnaryOperator<com.mojang.datafixers.Typed<?>> createFixer(com.mojang.datafixers.types.Type<?> p_326099_, Predicate<String> p_326164_, UnaryOperator<com.mojang.datafixers.Typed<?>> p_326258_)
    • fixItemStackTag

      protected abstract com.mojang.datafixers.Typed<?> fixItemStackTag(com.mojang.datafixers.Typed<?> p_394093_)