Package net.minecraft.util.datafix.fixes
Class ItemStackCustomNameToOverrideComponentFix
java.lang.Object
com.mojang.datafixers.DataFix
net.minecraft.util.datafix.fixes.ItemStackCustomNameToOverrideComponentFix
public class ItemStackCustomNameToOverrideComponentFix
extends com.mojang.datafixers.DataFix
-
Field Summary
-
Constructor Summary
ConstructorDescriptionItemStackCustomNameToOverrideComponentFix
(com.mojang.datafixers.schemas.Schema p_338575_) -
Method Summary
Modifier and TypeMethodDescriptionprivate static <T> com.mojang.serialization.Dynamic
<T> fixBanner
(com.mojang.serialization.Dynamic<T> p_338538_) private static <T> com.mojang.serialization.Dynamic
<T> fixCustomName
(com.mojang.serialization.Dynamic<T> p_338290_, Predicate<String> p_338596_) private static <T> com.mojang.serialization.Dynamic
<T> fixMap
(com.mojang.serialization.Dynamic<T> p_338642_) final com.mojang.datafixers.TypeRewriteRule
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
-
Field Details
-
MAP_NAMES
-
-
Constructor Details
-
ItemStackCustomNameToOverrideComponentFix
public ItemStackCustomNameToOverrideComponentFix(com.mojang.datafixers.schemas.Schema p_338575_)
-
-
Method Details
-
makeRule
public final com.mojang.datafixers.TypeRewriteRule makeRule()- Specified by:
makeRule
in classcom.mojang.datafixers.DataFix
-
fixMap
private static <T> com.mojang.serialization.Dynamic<T> fixMap(com.mojang.serialization.Dynamic<T> p_338642_) -
fixBanner
private static <T> com.mojang.serialization.Dynamic<T> fixBanner(com.mojang.serialization.Dynamic<T> p_338538_) -
fixCustomName
-