net.minecraft.world.item.trading

public class MerchantOffers

extends ArrayList<MerchantOffer>

dfh
net.minecraft.world.item.trading.MerchantOffers
net.minecraft.class_1916
net.minecraft.village.TradeOfferList
net.minecraft.world.item.trading.MerchantRecipeList

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
public MerchantOffer
a(cwq arg0, cwq 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)
public MerchantOffers
a()
copy()
method_53882()
copy()