Uses of Class
net.minecraft.world.item.trading.MerchantOffer
Package
Description
-
Uses of MerchantOffer in net.minecraft.client.gui.screens.inventory
Modifier and TypeMethodDescriptionprivate void
MerchantScreen.renderButtonArrows
(PoseStack p_99169_, MerchantOffer p_99170_, int p_99171_, int p_99172_) private void
MerchantScreen.renderProgressBar
(PoseStack p_99153_, int p_99154_, int p_99155_, MerchantOffer p_99156_) -
Uses of MerchantOffer in net.minecraft.world.entity.ai.behavior
Modifier and TypeMethodDescriptionprivate boolean
ShowTradesToPlayer.playerItemStackMatchesCostOfOffer
(MerchantOffer p_24118_) -
Uses of MerchantOffer in net.minecraft.world.entity.npc
Modifier and TypeMethodDescriptionVillagerTrades.DyedArmorForEmeralds.getOffer
(Entity p_219679_, RandomSource p_219680_) VillagerTrades.EmeraldForItems.getOffer
(Entity p_219682_, RandomSource p_219683_) VillagerTrades.EmeraldsForVillagerTypeItem.getOffer
(Entity p_219685_, RandomSource p_219686_) VillagerTrades.EnchantBookForEmeralds.getOffer
(Entity p_219688_, RandomSource p_219689_) VillagerTrades.EnchantedItemForEmeralds.getOffer
(Entity p_219691_, RandomSource p_219692_) VillagerTrades.ItemListing.getOffer
(Entity p_219693_, RandomSource p_219694_) VillagerTrades.ItemsAndEmeraldsToItems.getOffer
(Entity p_219696_, RandomSource p_219697_) VillagerTrades.ItemsForEmeralds.getOffer
(Entity p_219699_, RandomSource p_219700_) VillagerTrades.SuspiciousStewForEmerald.getOffer
(Entity p_219702_, RandomSource p_219703_) VillagerTrades.TippedArrowForItemsAndEmeralds.getOffer
(Entity p_219705_, RandomSource p_219706_) VillagerTrades.TreasureMapForEmeralds.getOffer
(Entity p_219708_, RandomSource p_219709_) Modifier and TypeMethodDescriptionvoid
AbstractVillager.notifyTrade
(MerchantOffer p_35274_) void
ClientSideMerchant.notifyTrade
(MerchantOffer p_35346_) protected abstract void
AbstractVillager.rewardTradeXp
(MerchantOffer p_35299_) protected void
Villager.rewardTradeXp
(MerchantOffer p_35475_) protected void
WanderingTrader.rewardTradeXp
(MerchantOffer p_35859_) -
Uses of MerchantOffer in net.minecraft.world.inventory
-
Uses of MerchantOffer in net.minecraft.world.item.trading
Modifier and TypeMethodDescriptionMerchantOffers.getRecipeFor
(ItemStack p_45390_, ItemStack p_45391_, int p_45392_) -
Uses of MerchantOffer in net.minecraftforge.common
Modifier and TypeMethodDescription@Nullable MerchantOffer
BasicItemListing.getOffer
(Entity p_219693_, RandomSource p_219694_) -
Uses of MerchantOffer in net.minecraftforge.event.entity.player
Modifier and TypeMethodDescriptionTradeWithVillagerEvent.getMerchantOffer()
Returns theMerchantOffer
selected by the player to trade with.ModifierConstructorDescriptionTradeWithVillagerEvent
(Player player, MerchantOffer offer, AbstractVillager abstractVillager)