Uses of Class
org.bukkit.inventory.MerchantRecipe
Package
Description
Classes involved in manipulating player inventories and item interactions.
-
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
(MerchantRecipe recipe) Set the recipe to be acquired.void
VillagerReplenishTradeEvent.setRecipe
(MerchantRecipe recipe) Set the recipe to replenish.ModifierConstructorDescriptionVillagerAcquireTradeEvent
(AbstractVillager what, MerchantRecipe recipe) VillagerReplenishTradeEvent
(AbstractVillager what, MerchantRecipe recipe) -
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, MerchantRecipe recipe) Set the recipe at a certain index of this merchant's trade list.Modifier and TypeMethodDescriptionvoid
Merchant.setRecipes
(List<MerchantRecipe> recipes) Set the list of trades currently available from this merchant.