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

1.21.2

Names

dgc

net.minecraft.world.item.trading.ItemCost

net.minecraft.class_9306

net.minecraft.unmapped.C_gqfxurno

net.minecraft.village.TradedItem

net.minecraft.village.TradeableItem

net.minecraft.src.C_313525_

Fields

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

int: e, count, comp_2425, f_kataqrye, count, count, f_314096_

DataComponentPredicate: f, components, comp_2426, f_ulkwijnt, components, components, f_317105_

ItemStack: g, itemStack, comp_2427, f_chiawipp, itemStack, itemStack, f_315785_

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

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

StreamCodec<RegistryFriendlyByteBuf, Optional<ItemCost>>: c, OPTIONAL_STREAM_CODEC, field_49395, f_gguzhqie, OPTIONAL_PACKET_CODEC, 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, m_dmnorieo, withComponents, withComponents, m_322130_

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

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

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

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

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

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