| 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 | 
| Modifier and Type | Method | Description | 
|---|---|---|
| InventoryView | HumanEntity. openMerchant(Villager trader,
            boolean force) | Starts a trade between the player and the villager. | 
| Modifier and Type | Method | Description | 
|---|---|---|
| Villager | VillagerAcquireTradeEvent. getEntity() | |
| Villager | VillagerReplenishTradeEvent. getEntity() | 
| Constructor | Description | 
|---|---|
| VillagerAcquireTradeEvent(Villager what,
                         MerchantRecipe recipe) | |
| VillagerReplenishTradeEvent(Villager what,
                           MerchantRecipe recipe,
                           int bonus) | 
Copyright © 2018. All rights reserved.