| Package | Description | 
|---|---|
| org.bukkit.event.entity | |
| org.bukkit.inventory | Classes involved in manipulating player inventories and item interactions. | 
| Modifier and Type | Method | Description | 
|---|---|---|
| @NotNull MerchantRecipe | VillagerAcquireTradeEvent. getRecipe() | Get the recipe to be acquired. | 
| @NotNull MerchantRecipe | VillagerReplenishTradeEvent. getRecipe() | Get the recipe to replenish. | 
| Modifier and Type | Method | Description | 
|---|---|---|
| void | VillagerAcquireTradeEvent. setRecipe(@NotNull MerchantRecipe recipe) | Set the recipe to be acquired. | 
| void | VillagerReplenishTradeEvent. setRecipe(@NotNull MerchantRecipe recipe) | Set the recipe to replenish. | 
| Constructor | Description | 
|---|---|
| VillagerAcquireTradeEvent(@NotNull AbstractVillager what,
                         @NotNull MerchantRecipe recipe) | |
| VillagerReplenishTradeEvent(@NotNull AbstractVillager what,
                           @NotNull MerchantRecipe recipe,
                           int bonus) | 
| Modifier and Type | Method | Description | 
|---|---|---|
| @NotNull MerchantRecipe | Merchant. getRecipe(int i) | Get the recipe at a certain index of this merchant's trade list. | 
| @Nullable MerchantRecipe | MerchantInventory. getSelectedRecipe() | Get the currently active recipe. | 
| Modifier and Type | Method | Description | 
|---|---|---|
| @NotNull List<MerchantRecipe> | Merchant. getRecipes() | Get a list of trades currently available from this merchant. | 
| Modifier and Type | Method | Description | 
|---|---|---|
| void | Merchant. setRecipe(int i,
         @NotNull MerchantRecipe recipe) | Set the recipe at a certain index of this merchant's trade list. | 
| Modifier and Type | Method | Description | 
|---|---|---|
| void | Merchant. setRecipes(@NotNull List<MerchantRecipe> recipes) | Set the list of trades currently available from this merchant. | 
Copyright © 2020. All rights reserved.