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