| 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.event.inventory | |
| org.bukkit.inventory | Classes involved in manipulating player inventories and item interactions. | 
| Modifier and Type | Interface and Description | 
|---|---|
| interface  | PlayerRepresents a player, connected or not | 
| Modifier and Type | Method and Description | 
|---|---|
| HumanEntity | FoodLevelChangeEvent. getEntity() | 
| Constructor and Description | 
|---|
| FoodLevelChangeEvent(HumanEntity what,
                    int level) | 
| Modifier and Type | Method and Description | 
|---|---|
| HumanEntity | InventoryOpenEvent. getPlayer()Returns the player involved in this event | 
| HumanEntity | InventoryCloseEvent. getPlayer()Returns the player involved in this event | 
| HumanEntity | InventoryInteractEvent. getWhoClicked()Gets the player who performed the click. | 
| Modifier and Type | Method and Description | 
|---|---|
| List<HumanEntity> | InventoryEvent. getViewers()Gets the list of players viewing the primary (upper) inventory involved
 in this event | 
| Modifier and Type | Method and Description | 
|---|---|
| HumanEntity | PlayerInventory. getHolder() | 
| abstract HumanEntity | InventoryView. getPlayer()Get the player viewing. | 
| HumanEntity | Merchant. getTrader()Gets the player this merchant is trading with, or null if it is not
 currently trading. | 
| Modifier and Type | Method and Description | 
|---|---|
| List<HumanEntity> | Inventory. getViewers()Gets a list of players viewing the inventory. | 
Copyright © 2022. All rights reserved.