net.minecraft.world.item.trading

public class MerchantOffers

extends ArrayList<MerchantOffer>

dbv
net.minecraft.world.item.trading.MerchantOffers
net.minecraft.class_1916
net.minecraft.village.TradeOfferList
net.minecraft.src.C_1552_
net.minecraft.world.item.trading.MerchantRecipeList

Field summary

Modifier and TypeField
public static final com.mojang.serialization.Codec<MerchantOffers>
a
CODEC
field_48850
CODEC
f_315743_
public static final StreamCodec<RegistryFriendlyByteBuf, MerchantOffers>
b
STREAM_CODEC
field_48373
PACKET_CODEC
f_315991_

Constructor summary

ModifierConstructor
public ()
private (int size)
private (Collection<MerchantOffer> tradeOffers)

Method summary

Modifier and TypeMethod
public MerchantOffer
a(cuq arg0, cuq arg1, int arg2)
getRecipeFor(ItemStack arg0, ItemStack arg1, int arg2)
method_8267(class_1799 arg0, class_1799 arg1, int arg2)
getValidOffer(ItemStack firstBuyItem, ItemStack secondBuyItem, int index)
m_45389_(C_1391_ p_45391_, C_1391_ p_45392_, int arg2)
public MerchantOffers
a()
copy()
method_53882()
copy()
m_301660_()