Uses of Class
org.bukkit.inventory.MerchantRecipe
Packages that use MerchantRecipe
Package
Description
Classes involved in manipulating player inventories and item interactions.
-
Uses of MerchantRecipe in io.papermc.paper.event.player
Methods in io.papermc.paper.event.player that return MerchantRecipeModifier and TypeMethodDescriptionPlayerPurchaseEvent.getTrade()
Gets the associated trade with this eventMethods in io.papermc.paper.event.player with parameters of type MerchantRecipeModifier and TypeMethodDescriptionvoid
PlayerPurchaseEvent.setTrade
(@NotNull MerchantRecipe trade) Sets the trade.Constructors in io.papermc.paper.event.player with parameters of type MerchantRecipeModifierConstructorDescriptionPlayerPurchaseEvent
(@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
Methods in org.bukkit.event.entity that return MerchantRecipeModifier and TypeMethodDescriptionVillagerAcquireTradeEvent.getRecipe()
Get the recipe to be acquired.VillagerReplenishTradeEvent.getRecipe()
Get the recipe to replenish.Methods in org.bukkit.event.entity with parameters of type MerchantRecipeModifier and TypeMethodDescriptionvoid
VillagerAcquireTradeEvent.setRecipe
(@NotNull MerchantRecipe recipe) Set the recipe to be acquired.void
VillagerReplenishTradeEvent.setRecipe
(@NotNull MerchantRecipe recipe) Set the recipe to replenish.Constructors in org.bukkit.event.entity with parameters of type MerchantRecipeModifierConstructorDescriptionVillagerAcquireTradeEvent
(@NotNull AbstractVillager what, @NotNull MerchantRecipe recipe) -
Uses of MerchantRecipe in org.bukkit.inventory
Methods in org.bukkit.inventory that return MerchantRecipeModifier 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.Methods in org.bukkit.inventory that return types with arguments of type MerchantRecipeModifier and TypeMethodDescriptionMerchant.getRecipes()
Get a list of trades currently available from this merchant.Methods in org.bukkit.inventory with parameters of type MerchantRecipeModifier and TypeMethodDescriptionvoid
Merchant.setRecipe
(int i, @NotNull MerchantRecipe recipe) Set the recipe at a certain index of this merchant's trade list.Method parameters in org.bukkit.inventory with type arguments of type MerchantRecipeModifier and TypeMethodDescriptionvoid
Merchant.setRecipes
(@NotNull List<MerchantRecipe> recipes) Set the list of trades currently available from this merchant.