net.minecraft.util.datafix.fixes

class ItemStackComponentizationFix$ItemStackData

bfs$a
net.minecraft.util.datafix.fixes.ItemStackComponentizationFix$ItemStackData
net.minecraft.class_9267$class_9268
net.minecraft.datafixer.fix.ItemStackComponentizationFix$StackData
net.minecraft.util.datafix.fixes.ItemStackComponentizationFix$a

Field summary

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

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)
public com.mojang.serialization.OptionalDynamic<?>
a(String arg0)
removeTag(String arg0)
method_57262(String arg0)
getAndRemove(String key)
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)
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)
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)
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)
public void
a(String arg0, String arg1)
moveTagToComponent(String arg0, String arg1)
method_57266(String arg0, String arg1)
moveToComponent(String nbtKey, String componentId)
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)
public com.mojang.serialization.Dynamic<?>
a()
write()
method_57256()
finalize()
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)
public boolean
b(String arg0)
is(String arg0)
method_57270(String arg0)
itemEquals(String itemId)
public boolean
a(Set<String> arg0)
is(Set<String> arg0)
method_57269(Set<String> arg0)
itemMatches(Set<String> itemIds)
public boolean
c(String arg0)
hasComponent(String arg0)
method_58054(String arg0)
itemContains(String componentId)