History - net.minecraft.world.item.trading.ItemCost

1.21.3

Names

dbs

dgd

Fields

Holder<Item>: d, item, comp_2424, item, f_316448_

Holder<Item>: d, item, comp_2424, item

int: e, count, comp_2425, count, f_314096_

int: e, count, comp_2425, count

DataComponentPredicate: f, components, comp_2426, components, f_317105_

DataComponentPredicate: f, components, comp_2426, components

ItemStack: g, itemStack, comp_2427, itemStack, f_315785_

ItemStack: g, itemStack, comp_2427, itemStack

com.mojang.serialization.Codec<ItemCost>: a, CODEC, field_49393, CODEC, f_314864_

com.mojang.serialization.Codec<ItemCost>: a, CODEC, field_49393, CODEC

StreamCodec<RegistryFriendlyByteBuf, ItemCost>: b, STREAM_CODEC, field_49394, PACKET_CODEC, f_317082_

StreamCodec<RegistryFriendlyByteBuf, ItemCost>: b, STREAM_CODEC, field_49394, PACKET_CODEC

StreamCodec<RegistryFriendlyByteBuf, Optional<ItemCost>>: c, OPTIONAL_STREAM_CODEC, field_49395, OPTIONAL_PACKET_CODEC, f_316200_

StreamCodec<RegistryFriendlyByteBuf, Optional<ItemCost>>: c, OPTIONAL_STREAM_CODEC, field_49395, OPTIONAL_PACKET_CODEC

Constructors

Methods

ItemCost (UnaryOperator<DataComponentPredicate$Builder>): a, withComponents, method_57554, withComponents, m_322130_

ItemCost (UnaryOperator<DataComponentPredicate$Builder>): a, withComponents, method_57554, withComponents

ItemStack (Holder<Item>, int, DataComponentPredicate): a, createStack, method_57553, createDisplayStack, m_324643_

ItemStack (Holder<Item>, int, DataComponentPredicate): a, createStack, method_57553, createDisplayStack

boolean (ItemStack): a, test, method_57552, matches, m_320083_

boolean (ItemStack): a, test, method_57552, matches

Holder<Item> (): a, item, comp_2424, item, f_316448_

Holder<Item> (): a, item, comp_2424, item

int (): b, count, comp_2425, count, f_314096_

int (): b, count, comp_2425, count

DataComponentPredicate (): c, components, comp_2426, components, f_317105_

DataComponentPredicate (): c, components, comp_2426, components

ItemStack (): d, itemStack, comp_2427, itemStack, f_315785_

ItemStack (): d, itemStack, comp_2427, itemStack

1.21.1

Names

Fields

Constructors

Methods

1.21

Names

daw

dbs

Fields

Constructors

Methods

1.20.6

Names

daw

net.minecraft.world.item.trading.ItemCost

net.minecraft.class_9306

net.minecraft.village.TradedItem

net.minecraft.src.C_313525_

net.minecraft.world.item.trading.ItemCost

Fields

Holder<Item>: d, item, comp_2424, item, f_316448_

int: e, count, comp_2425, count, f_314096_

DataComponentPredicate: f, components, comp_2426, components, f_317105_

ItemStack: g, itemStack, comp_2427, itemStack, f_315785_

com.mojang.serialization.Codec<ItemCost>: a, CODEC, field_49393, CODEC, f_314864_

StreamCodec<RegistryFriendlyByteBuf, ItemCost>: b, STREAM_CODEC, field_49394, PACKET_CODEC, f_317082_

StreamCodec<RegistryFriendlyByteBuf, Optional<ItemCost>>: c, OPTIONAL_STREAM_CODEC, field_49395, OPTIONAL_PACKET_CODEC, f_316200_

Constructors

(ItemLike)

(ItemLike, int)

(Holder<Item>, int, DataComponentPredicate)

(Holder<Item>, int, DataComponentPredicate, ItemStack)

Methods

ItemCost (UnaryOperator<DataComponentPredicate$Builder>): a, withComponents, method_57554, withComponents, m_322130_

ItemStack (Holder<Item>, int, DataComponentPredicate): a, createStack, method_57553, createDisplayStack, m_324643_

boolean (ItemStack): a, test, method_57552, matches, m_320083_

Holder<Item> (): a, item, comp_2424, item, f_316448_

int (): b, count, comp_2425, count, f_314096_

DataComponentPredicate (): c, components, comp_2426, components, f_317105_

ItemStack (): d, itemStack, comp_2427, itemStack, f_315785_