Package net.minecraft.util.datafix.fixes
Class ItemStackTagFix
java.lang.Object
com.mojang.datafixers.DataFix
net.minecraft.util.datafix.fixes.ItemStackTagFix
- Direct Known Subclasses:
FilteredBooksFix,ItemStackTagRemainderFix,OminousBannerRenameFix,WrittenBookPagesStrictJsonFix
public abstract class ItemStackTagFix
extends com.mojang.datafixers.DataFix
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionItemStackTagFix(com.mojang.datafixers.schemas.Schema pOutputSchema, String pName, Predicate<String> pIdFilter) -
Method Summary
Modifier and TypeMethodDescriptionstatic UnaryOperator<com.mojang.datafixers.Typed<?>> createFixer(com.mojang.datafixers.types.Type<?> pType, Predicate<String> pFilter, UnaryOperator<com.mojang.datafixers.Typed<?>> pFixer) protected abstract com.mojang.datafixers.Typed<?> fixItemStackTag(com.mojang.datafixers.Typed<?> pData) final com.mojang.datafixers.TypeRewriteRulemakeRule()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
-
Field Details
-
name
-
idFilter
-
-
Constructor Details
-
ItemStackTagFix
-
-
Method Details
-
makeRule
public final com.mojang.datafixers.TypeRewriteRule makeRule()- Specified by:
makeRulein classcom.mojang.datafixers.DataFix
-
createFixer
public static UnaryOperator<com.mojang.datafixers.Typed<?>> createFixer(com.mojang.datafixers.types.Type<?> pType, Predicate<String> pFilter, UnaryOperator<com.mojang.datafixers.Typed<?>> pFixer) -
fixItemStackTag
protected abstract com.mojang.datafixers.Typed<?> fixItemStackTag(com.mojang.datafixers.Typed<?> pData)
-