Package | Description |
---|---|
org.bukkit.entity |
Interfaces for non-voxel objects that can exist in a
world , including all players, monsters, projectiles, etc. |
org.bukkit.event.entity | |
org.bukkit.inventory |
Classes involved in manipulating player inventories and item interactions.
|
Modifier and Type | Method and Description |
---|---|
MerchantRecipe |
Villager.getRecipe(int i)
Get the recipe at a certain index of this villager's trade list.
|
Modifier and Type | Method and Description |
---|---|
List<MerchantRecipe> |
Villager.getRecipes()
Get a list of trades currently available from this villager.
|
Modifier and Type | Method and Description |
---|---|
void |
Villager.setRecipe(int i,
MerchantRecipe recipe)
Set the recipe at a certain index of this villager's trade list.
|
Modifier and Type | Method and Description |
---|---|
void |
Villager.setRecipes(List<MerchantRecipe> recipes)
Set the list of trades currently available from this villager.
|
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 |
MerchantInventory.getSelectedRecipe()
Get the currently selected recipe.
|
Copyright © 2016. All rights reserved.