Uses of Class
org.bukkit.inventory.MerchantRecipe
Package
Description
Classes involved in manipulating player inventories and item interactions.
-
Uses of MerchantRecipe in io.papermc.paper.event.player
Modifier and TypeMethodDescriptionPlayerPurchaseEvent.getTrade()
Gets the associated trade with this eventModifier and TypeMethodDescriptionvoid
PlayerPurchaseEvent.setTrade(@NotNull MerchantRecipe trade)
Sets the trade.ModifierConstructorDescriptionPlayerPurchaseEvent(@NotNull Player player, @NotNull MerchantRecipe trade, boolean rewardExp, boolean increaseTradeUses)
PlayerTradeEvent(@NotNull Player player, @NotNull AbstractVillager villager, @NotNull MerchantRecipe trade, boolean rewardExp, boolean increaseTradeUses)
-
Uses of MerchantRecipe in org.bukkit.event.entity
Modifier and TypeMethodDescriptionVillagerAcquireTradeEvent.getRecipe()
Get the recipe to be acquired.VillagerReplenishTradeEvent.getRecipe()
Get the recipe to replenish.Modifier and TypeMethodDescriptionvoid
VillagerAcquireTradeEvent.setRecipe(@NotNull MerchantRecipe recipe)
Set the recipe to be acquired.void
VillagerReplenishTradeEvent.setRecipe(@NotNull MerchantRecipe recipe)
Set the recipe to replenish.ModifierConstructorDescriptionVillagerAcquireTradeEvent(@NotNull AbstractVillager what, @NotNull MerchantRecipe recipe)
VillagerReplenishTradeEvent(@NotNull AbstractVillager what, @NotNull MerchantRecipe recipe, int bonus)
-
Uses of MerchantRecipe in org.bukkit.inventory
Modifier and TypeMethodDescriptionMerchant.getRecipe(int i)
Get the recipe at a certain index of this merchant's trade list.MerchantInventory.getSelectedRecipe()
Get the currently active recipe.Modifier and TypeMethodDescriptionMerchant.getRecipes()
Get a list of trades currently available from this merchant.Modifier and TypeMethodDescriptionvoid
Merchant.setRecipe(int i, @NotNull MerchantRecipe recipe)
Set the recipe at a certain index of this merchant's trade list.Modifier and TypeMethodDescriptionvoid
Merchant.setRecipes(@NotNull List<MerchantRecipe> recipes)
Set the list of trades currently available from this merchant.