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_328761_) -
Method Summary
Modifier and TypeMethodDescriptionprivate static <T> com.mojang.serialization.Dynamic
<T> fixBanner
(com.mojang.serialization.Dynamic<T> p_328946_) private static <T> com.mojang.serialization.Dynamic
<T> fixCustomName
(com.mojang.serialization.Dynamic<T> p_335170_, Predicate<String> p_334171_) private static <T> com.mojang.serialization.Dynamic
<T> fixMap
(com.mojang.serialization.Dynamic<T> p_331719_) 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_328761_)
-
-
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_331719_) -
fixBanner
private static <T> com.mojang.serialization.Dynamic<T> fixBanner(com.mojang.serialization.Dynamic<T> p_328946_) -
fixCustomName
-