Class ItemStackTagRemainderFix

java.lang.Object
com.mojang.datafixers.DataFix
net.minecraft.util.datafix.fixes.ItemStackTagFix
net.minecraft.util.datafix.fixes.ItemStackTagRemainderFix
Direct Known Subclasses:
GoatHornIdFix

public abstract class ItemStackTagRemainderFix extends ItemStackTagFix
  • Constructor Summary

    Constructors
    Constructor
    Description
    ItemStackTagRemainderFix(com.mojang.datafixers.schemas.Schema p_394050_, String p_394588_, Predicate<String> p_393643_)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected final com.mojang.datafixers.Typed<?>
    fixItemStackTag(com.mojang.datafixers.Typed<?> p_393690_)
     
    protected abstract <T> com.mojang.serialization.Dynamic<T>
    fixItemStackTag(com.mojang.serialization.Dynamic<T> p_393495_)
     

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

    createFixer, 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

    • ItemStackTagRemainderFix

      public ItemStackTagRemainderFix(com.mojang.datafixers.schemas.Schema p_394050_, String p_394588_, Predicate<String> p_393643_)
  • Method Details

    • fixItemStackTag

      protected abstract <T> com.mojang.serialization.Dynamic<T> fixItemStackTag(com.mojang.serialization.Dynamic<T> p_393495_)
    • fixItemStackTag

      protected final com.mojang.datafixers.Typed<?> fixItemStackTag(com.mojang.datafixers.Typed<?> p_393690_)
      Specified by:
      fixItemStackTag in class ItemStackTagFix