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 TypeMethodDescriptionTradeOffer.copy()
Creates a trade offer.Creates a trade offer.Creates a trade offer.@Nullable TradeOffer
Creates a trade offer.@Nullable TradeOffer
Creates a trade offer.Creates a trade offer.Creates a trade offer.Creates a trade offer.@Nullable TradeOffer
Creates a trade offer.Creates a trade offer.@Nullable TradeOffer
Creates a trade offer.@Nullable TradeOffer
Creates a trade offer.@Nullable TradeOffer
Creates a trade offer.@Nullable TradeOffer
MerchantInventory.getTradeOffer()
@Nullable TradeOffer
TradeOfferList.getValidOffer
(ItemStack firstBuyItem, ItemStack secondBuyItem, int index) Modifier and TypeMethodDescriptionvoid
Merchant.trade
(TradeOffer offer) void
SimpleMerchant.trade
(TradeOffer offer)