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