net.minecraft.util.datafix.fixes

public class ItemStackComponentizationFix

extends com.mojang.datafixers.DataFix

ben
net.minecraft.util.datafix.fixes.ItemStackComponentizationFix
net.minecraft.class_9267
net.minecraft.datafixer.fix.ItemStackComponentizationFix
net.minecraft.src.C_313582_
net.minecraft.util.datafix.fixes.ItemStackComponentizationFix

Field summary

Modifier and TypeField
private static final int
a
HIDE_ENCHANTMENTS
field_49188
HIDE_ENCHANTMENTS_FLAG
f_315428_
private static final int
b
HIDE_MODIFIERS
field_49189
HIDE_MODIFIERS_FLAG
f_316529_
private static final int
c
HIDE_UNBREAKABLE
field_49190
HIDE_UNBREAKABLE_FLAG
f_316101_
private static final int
d
HIDE_CAN_DESTROY
field_49191
HIDE_CAN_DESTROY_FLAG
f_317107_
private static final int
e
HIDE_CAN_PLACE
field_49192
HIDE_CAN_PLACE_FLAG
f_314391_
private static final int
f
HIDE_ADDITIONAL
field_49193
HIDE_ADDITIONAL_FLAG
f_314773_
private static final int
g
HIDE_DYE
field_49194
HIDE_DYED_FLAG
f_316617_
private static final int
h
HIDE_UPGRADES
field_49195
HIDE_UPGRADE_FLAG
f_315787_
private static final Set<String>
i
POTION_HOLDER_IDS
field_49196
POTION_ITEM_IDS
f_316668_
private static final Set<String>
j
BUCKETED_MOB_IDS
field_49197
ENTITY_BUCKET_ITEM_IDS
f_316380_
private static final List<String>
k
BUCKETED_MOB_TAGS
field_49198
RELEVANT_ENTITY_NBT_KEYS
f_314964_
private static final Set<String>
l
BOOLEAN_BLOCK_STATE_PROPERTIES
field_51347
BOOLEAN_BLOCK_STATE_PROPERTIES
f_316408_
private static final com.google.common.base.Splitter
m
PROPERTY_SPLITTER
field_49199
COMMA_SPLITTER
f_314333_

Constructor summary

ModifierConstructor
public (com.mojang.datafixers.schemas.Schema outputSchema)

Method summary

Modifier and TypeMethod
private static void
a(ben$a arg0, com.mojang.serialization.Dynamic<?> arg1)
fixItemStack(ItemStackComponentizationFix$ItemStackData arg0, com.mojang.serialization.Dynamic<?> arg1)
method_57211(class_9267$class_9268 arg0, com.mojang.serialization.Dynamic<?> arg1)
fixStack(ItemStackComponentizationFix$StackData data, com.mojang.serialization.Dynamic<?> dynamic)
m_319773_(C_313582_$C_313883_ p_335726_, com.mojang.serialization.Dynamic<?> p_329007_)
private static com.mojang.serialization.Dynamic<?>
b(com.mojang.serialization.Dynamic<?> arg0)
fixBlockStateTag(com.mojang.serialization.Dynamic<?> arg0)
method_58050(com.mojang.serialization.Dynamic<?> arg0)
fixBlockStateTag(com.mojang.serialization.Dynamic<?> dynamic)
m_320221_(com.mojang.serialization.Dynamic<?> p_329060_)
private static com.mojang.serialization.Dynamic<?>
a(ben$a arg0, com.mojang.serialization.Dynamic<?> arg1, int arg2)
fixDisplay(ItemStackComponentizationFix$ItemStackData arg0, com.mojang.serialization.Dynamic<?> arg1, int arg2)
method_57212(class_9267$class_9268 arg0, com.mojang.serialization.Dynamic<?> arg1, int arg2)
fixDisplay(ItemStackComponentizationFix$StackData data, com.mojang.serialization.Dynamic<?> dynamic, int hideFlags)
m_320020_(C_313582_$C_313883_ p_333136_, com.mojang.serialization.Dynamic<?> p_329974_, int p_330088_)
private static <T> com.mojang.serialization.Dynamic<T>
a(ben$a arg0, com.mojang.serialization.Dynamic<T> arg1, String arg2)
fixBlockEntityTag(ItemStackComponentizationFix$ItemStackData arg0, com.mojang.serialization.Dynamic<T> arg1, String arg2)
method_57213(class_9267$class_9268 arg0, com.mojang.serialization.Dynamic<T> arg1, String arg2)
fixBlockEntityData(ItemStackComponentizationFix$StackData data, com.mojang.serialization.Dynamic<T> dynamic, String blockEntityId)
m_321772_(C_313582_$C_313883_ p_334120_, com.mojang.serialization.Dynamic<T> p_332622_, String p_334133_)
private static void
a(ben$a arg0, com.mojang.serialization.Dynamic<?> arg1, String arg2, String arg3, boolean arg4)
fixEnchantments(ItemStackComponentizationFix$ItemStackData arg0, com.mojang.serialization.Dynamic<?> arg1, String arg2, String arg3, boolean arg4)
method_57214(class_9267$class_9268 arg0, com.mojang.serialization.Dynamic<?> arg1, String arg2, String arg3, boolean arg4)
fixEnchantments(ItemStackComponentizationFix$StackData data, com.mojang.serialization.Dynamic<?> dynamic, String nbtKey, String componentId, boolean hideInTooltip)
m_320987_(C_313582_$C_313883_ p_332552_, com.mojang.serialization.Dynamic<?> p_328849_, String p_333260_, String p_334340_, boolean p_329498_)
private static Optional<com.mojang.datafixers.util.Pair<String, Integer>>
c(com.mojang.serialization.Dynamic<?> arg0)
parseEnchantment(com.mojang.serialization.Dynamic<?> arg0)
method_57215(com.mojang.serialization.Dynamic<?> arg0)
getEnchantmentAndLevelPair(com.mojang.serialization.Dynamic<?> dynamic)
m_320939_(com.mojang.serialization.Dynamic<?> p_328387_)
private static void
b(ben$a arg0, com.mojang.serialization.Dynamic<?> arg1, int arg2)
fixAdventureModeChecks(ItemStackComponentizationFix$ItemStackData arg0, com.mojang.serialization.Dynamic<?> arg1, int arg2)
method_57225(class_9267$class_9268 arg0, com.mojang.serialization.Dynamic<?> arg1, int arg2)
fixAdventureModePredicates(ItemStackComponentizationFix$StackData data, com.mojang.serialization.Dynamic<?> dynamic, int hideFlags)
m_319433_(C_313582_$C_313883_ p_328938_, com.mojang.serialization.Dynamic<?> p_336252_, int p_331810_)
private static void
b(ben$a arg0, com.mojang.serialization.Dynamic<?> arg1, String arg2, String arg3, boolean arg4)
fixBlockStatePredicates(ItemStackComponentizationFix$ItemStackData arg0, com.mojang.serialization.Dynamic<?> arg1, String arg2, String arg3, boolean arg4)
method_57226(class_9267$class_9268 arg0, com.mojang.serialization.Dynamic<?> arg1, String arg2, String arg3, boolean arg4)
fixBlockPredicateList(ItemStackComponentizationFix$StackData data, com.mojang.serialization.Dynamic<?> dynamic, String nbtKey, String componentId, boolean hideInTooltip)
m_319793_(C_313582_$C_313883_ p_331433_, com.mojang.serialization.Dynamic<?> p_332377_, String p_332474_, String p_333138_, boolean p_334219_)
private static com.mojang.serialization.Dynamic<?>
a(com.mojang.serialization.Dynamic<?> arg0, String arg1)
fixBlockStatePredicate(com.mojang.serialization.Dynamic<?> arg0, String arg1)
method_57216(com.mojang.serialization.Dynamic<?> arg0, String arg1)
createBlockPredicateListDynamic(com.mojang.serialization.Dynamic<?> dynamic, String listAsString)
m_324996_(com.mojang.serialization.Dynamic<?> p_330250_, String p_335482_)
private static void
c(ben$a arg0, com.mojang.serialization.Dynamic<?> arg1, int arg2)
fixAttributeModifiers(ItemStackComponentizationFix$ItemStackData arg0, com.mojang.serialization.Dynamic<?> arg1, int arg2)
method_57231(class_9267$class_9268 arg0, com.mojang.serialization.Dynamic<?> arg1, int arg2)
fixAttributeModifiers(ItemStackComponentizationFix$StackData data, com.mojang.serialization.Dynamic<?> dynamic, int hideFlags)
m_320744_(C_313582_$C_313883_ p_329869_, com.mojang.serialization.Dynamic<?> p_332943_, int p_330062_)
private static com.mojang.serialization.Dynamic<?>
d(com.mojang.serialization.Dynamic<?> arg0)
fixAttributeModifier(com.mojang.serialization.Dynamic<?> arg0)
method_57227(com.mojang.serialization.Dynamic<?> arg0)
fixAttributeModifier(com.mojang.serialization.Dynamic<?> dynamic)
m_320325_(com.mojang.serialization.Dynamic<?> p_330280_)
private static com.mojang.datafixers.util.Pair<com.mojang.serialization.Dynamic<?>, com.mojang.serialization.Dynamic<?>>
e(com.mojang.serialization.Dynamic<?> arg0)
fixMapDecoration(com.mojang.serialization.Dynamic<?> arg0)
method_57232(com.mojang.serialization.Dynamic<?> arg0)
fixMapDecorations(com.mojang.serialization.Dynamic<?> dynamic)
m_321104_(com.mojang.serialization.Dynamic<?> p_329859_)
private static String
a(int arg0)
fixMapDecorationType(int arg0)
method_57208(int arg0)
getMapDecorationName(int index)
m_322192_(int p_328497_)
private static void
b(ben$a arg0, com.mojang.serialization.Dynamic<?> arg1)
fixPotionContents(ItemStackComponentizationFix$ItemStackData arg0, com.mojang.serialization.Dynamic<?> arg1)
method_57224(class_9267$class_9268 arg0, com.mojang.serialization.Dynamic<?> arg1)
fixPotionContents(ItemStackComponentizationFix$StackData data, com.mojang.serialization.Dynamic<?> dynamic)
m_318587_(C_313582_$C_313883_ p_329173_, com.mojang.serialization.Dynamic<?> p_331866_)
private static void
c(ben$a arg0, com.mojang.serialization.Dynamic<?> arg1)
fixWritableBook(ItemStackComponentizationFix$ItemStackData arg0, com.mojang.serialization.Dynamic<?> arg1)
method_57230(class_9267$class_9268 arg0, com.mojang.serialization.Dynamic<?> arg1)
fixWritableBookContent(ItemStackComponentizationFix$StackData data, com.mojang.serialization.Dynamic<?> dynamic)
m_322954_(C_313582_$C_313883_ p_332414_, com.mojang.serialization.Dynamic<?> p_329764_)
private static void
d(ben$a arg0, com.mojang.serialization.Dynamic<?> arg1)
fixWrittenBook(ItemStackComponentizationFix$ItemStackData arg0, com.mojang.serialization.Dynamic<?> arg1)
method_57233(class_9267$class_9268 arg0, com.mojang.serialization.Dynamic<?> arg1)
fixWrittenBookContent(ItemStackComponentizationFix$StackData data, com.mojang.serialization.Dynamic<?> dynamic)
m_321607_(C_313582_$C_313883_ p_333609_, com.mojang.serialization.Dynamic<?> p_330312_)
private static com.mojang.serialization.Dynamic<?>
e(ben$a arg0, com.mojang.serialization.Dynamic<?> arg1)
fixBookPages(ItemStackComponentizationFix$ItemStackData arg0, com.mojang.serialization.Dynamic<?> arg1)
method_57235(class_9267$class_9268 arg0, com.mojang.serialization.Dynamic<?> arg1)
fixBookPages(ItemStackComponentizationFix$StackData data, com.mojang.serialization.Dynamic<?> dynamic)
m_324158_(C_313582_$C_313883_ p_335763_, com.mojang.serialization.Dynamic<?> p_328532_)
private static com.mojang.serialization.Dynamic<?>
a(com.mojang.serialization.Dynamic<?> arg0, String arg1, Optional<String> arg2)
createFilteredText(com.mojang.serialization.Dynamic<?> arg0, String arg1, Optional<String> arg2)
method_57217(com.mojang.serialization.Dynamic<?> arg0, String arg1, Optional<String> arg2)
createFilterableTextDynamic(com.mojang.serialization.Dynamic<?> dynamic, String unfiltered, Optional<String> filtered)
m_319761_(com.mojang.serialization.Dynamic<?> p_330363_, String p_328510_, Optional<String> p_328222_)
private static void
f(ben$a arg0, com.mojang.serialization.Dynamic<?> arg1)
fixBucketedMobData(ItemStackComponentizationFix$ItemStackData arg0, com.mojang.serialization.Dynamic<?> arg1)
method_57237(class_9267$class_9268 arg0, com.mojang.serialization.Dynamic<?> arg1)
fixBucketEntityData(ItemStackComponentizationFix$StackData data, com.mojang.serialization.Dynamic<?> dynamic)
m_319058_(C_313582_$C_313883_ p_328428_, com.mojang.serialization.Dynamic<?> p_327719_)
private static void
g(ben$a arg0, com.mojang.serialization.Dynamic<?> arg1)
fixLodestoneTracker(ItemStackComponentizationFix$ItemStackData arg0, com.mojang.serialization.Dynamic<?> arg1)
method_57239(class_9267$class_9268 arg0, com.mojang.serialization.Dynamic<?> arg1)
fixLodestoneTarget(ItemStackComponentizationFix$StackData data, com.mojang.serialization.Dynamic<?> dynamic)
m_320827_(C_313582_$C_313883_ p_330486_, com.mojang.serialization.Dynamic<?> p_329466_)
private static void
a(ben$a arg0)
fixFireworkStar(ItemStackComponentizationFix$ItemStackData arg0)
method_57209(class_9267$class_9268 arg0)
fixExplosion(ItemStackComponentizationFix$StackData data)
m_322865_(C_313582_$C_313883_ p_334817_)
private static void
b(ben$a arg0)
fixFireworkRocket(ItemStackComponentizationFix$ItemStackData arg0)
method_57223(class_9267$class_9268 arg0)
fixFireworks(ItemStackComponentizationFix$StackData data)
m_321950_(C_313582_$C_313883_ p_329939_)
private static com.mojang.serialization.Dynamic<?>
f(com.mojang.serialization.Dynamic<?> arg0)
fixFireworkExplosion(com.mojang.serialization.Dynamic<?> arg0)
method_57234(com.mojang.serialization.Dynamic<?> arg0)
fixExplosion(com.mojang.serialization.Dynamic<?> dynamic)
m_322691_(com.mojang.serialization.Dynamic<?> p_327955_)
public static com.mojang.serialization.Dynamic<?>
a(com.mojang.serialization.Dynamic<?> arg0)
fixProfile(com.mojang.serialization.Dynamic<?> arg0)
method_57236(com.mojang.serialization.Dynamic<?> arg0)
createProfileDynamic(com.mojang.serialization.Dynamic<?> dynamic)
m_322595_(com.mojang.serialization.Dynamic<?> p_331244_)
private static boolean
a(String arg0)
isValidPlayerName(String arg0)
method_58048(String arg0)
isValidUsername(String username)
m_318903_(String p_332205_)
private static com.mojang.serialization.Dynamic<?>
a(com.mojang.serialization.OptionalDynamic<?> arg0)
fixProfileProperties(com.mojang.serialization.OptionalDynamic<?> arg0)
method_57218(com.mojang.serialization.OptionalDynamic<?> arg0)
createPropertiesDynamic(com.mojang.serialization.OptionalDynamic<?> propertiesDynamic)
m_320461_(com.mojang.serialization.OptionalDynamic<?> p_329629_)
protected com.mojang.datafixers.TypeRewriteRule
makeRule()
makeRule()
makeRule()