Uses of Class
net.minecraft.village.TradeOffer
Package
Description
-
Uses of TradeOffer in net.minecraft.client.gui.screen.ingame
Modifier and TypeMethodDescriptionprivate void
MerchantScreen.drawLevelInfo
(DrawContext context, int x, int y, TradeOffer tradeOffer) private void
MerchantScreen.renderArrow
(DrawContext context, TradeOffer tradeOffer, int x, int y) -
Uses of TradeOffer in net.minecraft.entity.ai.brain.task
Modifier and TypeMethodDescriptionprivate boolean
HoldTradeOffersTask.isPossible
(TradeOffer offer) -
Uses of TradeOffer in net.minecraft.entity.passive
Modifier and TypeMethodDescriptionprotected abstract void
MerchantEntity.afterUsing
(TradeOffer offer) protected void
VillagerEntity.afterUsing
(TradeOffer offer) protected void
WanderingTraderEntity.afterUsing
(TradeOffer offer) void
MerchantEntity.trade
(TradeOffer offer) -
Uses of TradeOffer in net.minecraft.village
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<TradeOffer> TradeOffer.CODEC
static final PacketCodec
<RegistryByteBuf, TradeOffer> TradeOffer.PACKET_CODEC
Modifier and TypeMethodDescriptionTradeOffer.copy()
Creates a trade offer.Creates a trade offer.Creates a trade offer.Creates a trade offer.Creates a trade offer.Creates a trade offer.Creates a trade offer.Creates a trade offer.Creates a trade offer.Creates a trade offer.Creates a trade offer.Creates a trade offer.Creates a trade offer.MerchantInventory.getTradeOffer()
TradeOfferList.getValidOffer
(ItemStack firstBuyItem, ItemStack secondBuyItem, int index) static TradeOffer
TradeOffer.read
(RegistryByteBuf buf) Modifier and TypeMethodDescriptionvoid
Merchant.trade
(TradeOffer offer) void
SimpleMerchant.trade
(TradeOffer offer) private static void
TradeOffer.write
(RegistryByteBuf buf, TradeOffer offer)