net.minecraft.util.datafix.fixes

class ItemStackComponentizationFix$ItemStackData

ben$a
net.minecraft.util.datafix.fixes.ItemStackComponentizationFix$ItemStackData
net.minecraft.class_9267$class_9268
net.minecraft.datafixer.fix.ItemStackComponentizationFix$StackData
net.minecraft.src.C_313582_$C_313883_
net.minecraft.util.datafix.fixes.ItemStackComponentizationFix$a

Field summary

Modifier and TypeField
private final String
a
item
field_49200
itemId
f_316466_
private final int
b
count
field_49201
count
f_315654_
private com.mojang.serialization.Dynamic<?>
c
components
field_49202
components
f_316709_
private final com.mojang.serialization.Dynamic<?>
d
remainder
field_49203
leftoverNbt
f_314897_
com.mojang.serialization.Dynamic<?>
e
tag
field_49204
nbt
f_315045_

Constructor summary

ModifierConstructor
private (String itemId, int count, com.mojang.serialization.Dynamic<?> dynamic)

Method summary

Modifier and TypeMethod
public static Optional<ItemStackComponentizationFix$ItemStackData>
a(com.mojang.serialization.Dynamic<?> arg0)
read(com.mojang.serialization.Dynamic<?> arg0)
method_57257(com.mojang.serialization.Dynamic<?> arg0)
fromDynamic(com.mojang.serialization.Dynamic<?> dynamic)
m_321368_(com.mojang.serialization.Dynamic<?> p_327873_)
public com.mojang.serialization.OptionalDynamic<?>
a(String arg0)
removeTag(String arg0)
method_57262(String arg0)
getAndRemove(String key)
m_318975_(String arg0)
public void
a(String arg0, com.mojang.serialization.Dynamic<?> arg1)
setComponent(String arg0, com.mojang.serialization.Dynamic<?> arg1)
method_57263(String arg0, com.mojang.serialization.Dynamic<?> arg1)
setComponent(String key, com.mojang.serialization.Dynamic<?> value)
m_320760_(String p_334484_, com.mojang.serialization.Dynamic<?> arg1)
public void
a(String arg0, com.mojang.serialization.OptionalDynamic<?> arg1)
setComponent(String arg0, com.mojang.serialization.OptionalDynamic<?> arg1)
method_57265(String arg0, com.mojang.serialization.OptionalDynamic<?> arg1)
setComponent(String key, com.mojang.serialization.OptionalDynamic<?> optionalValue)
m_322553_(String p_335463_, com.mojang.serialization.OptionalDynamic<?> arg1)
public com.mojang.serialization.Dynamic<?>
a(String arg0, com.mojang.serialization.Dynamic<?> arg1, String arg2)
moveTagInto(String arg0, com.mojang.serialization.Dynamic<?> arg1, String arg2)
method_57264(String arg0, com.mojang.serialization.Dynamic<?> arg1, String arg2)
moveToComponent(String nbtKey, com.mojang.serialization.Dynamic<?> components, String componentId)
m_320656_(String p_332781_, com.mojang.serialization.Dynamic<?> p_332207_, String arg2)
public void
a(String arg0, String arg1, com.mojang.serialization.Dynamic<?> arg2)
moveTagToComponent(String arg0, String arg1, com.mojang.serialization.Dynamic<?> arg2)
method_57267(String arg0, String arg1, com.mojang.serialization.Dynamic<?> arg2)
moveToComponent(String nbtKey, String componentId, com.mojang.serialization.Dynamic<?> defaultValue)
m_322646_(String p_334538_, String p_328097_, com.mojang.serialization.Dynamic<?> arg2)
public void
a(String arg0, String arg1)
moveTagToComponent(String arg0, String arg1)
method_57266(String arg0, String arg1)
moveToComponent(String nbtKey, String componentId)
m_321392_(String p_335629_, String arg1)
public void
a(String arg0, boolean arg1, UnaryOperator<com.mojang.serialization.Dynamic<?>> arg2)
fixSubTag(String arg0, boolean arg1, UnaryOperator<com.mojang.serialization.Dynamic<?>> arg2)
method_57268(String arg0, boolean arg1, UnaryOperator<com.mojang.serialization.Dynamic<?>> arg2)
applyFixer(String nbtKey, boolean removeIfEmpty, UnaryOperator<com.mojang.serialization.Dynamic<?>> fixer)
m_319995_(String p_331760_, boolean p_335156_, UnaryOperator<com.mojang.serialization.Dynamic<?>> arg2)
public com.mojang.serialization.Dynamic<?>
a()
write()
method_57256()
finalize()
m_321852_()
private static <T> com.mojang.serialization.Dynamic<T>
a(com.mojang.serialization.Dynamic<T> arg0, com.mojang.serialization.Dynamic<?> arg1)
mergeRemainder(com.mojang.serialization.Dynamic<T> arg0, com.mojang.serialization.Dynamic<?> arg1)
method_57258(com.mojang.serialization.Dynamic<T> arg0, com.mojang.serialization.Dynamic<?> arg1)
mergeLeftoverNbt(com.mojang.serialization.Dynamic<T> data, com.mojang.serialization.Dynamic<?> leftoverNbt)
m_319171_(com.mojang.serialization.Dynamic<T> p_331283_, com.mojang.serialization.Dynamic<?> p_335645_)
public boolean
b(String arg0)
is(String arg0)
method_57270(String arg0)
itemEquals(String itemId)
m_322886_(String arg0)
public boolean
a(Set<String> arg0)
is(Set<String> arg0)
method_57269(Set<String> arg0)
itemMatches(Set<String> itemIds)
m_319518_(Set<String> arg0)
public boolean
c(String arg0)
hasComponent(String arg0)
method_58054(String arg0)
itemContains(String componentId)
m_323634_(String arg0)